added some entry-specific classes

This commit is contained in:
real_nowhereman 2008-01-05 12:24:18 +00:00
parent c5755ce9d0
commit 7f8b177699
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<div id="{$id}" class="entry"> <div id="{$id}" class="entry {$date|date_format:"y-%Y m-%m d-%d"}">
{* using the following way to print the date, if more *} {* using the following way to print the date, if more *}
{* than one entry have been written the same day, *} {* than one entry have been written the same day, *}
{* the date will be printed only once *} {* the date will be printed only once *}

View File

@ -5,7 +5,7 @@
{static_block} {static_block}
{static} {static}
<div id="{$id}" class="entry"> <div id="{$id}" class="entry page-{$id}">
<h3>{$subject}</h3> <h3>{$subject}</h3>
<p class="date">Published by {$author} on {$date|date_format_daily}</p> <p class="date">Published by {$author} on {$date|date_format_daily}</p>