root/trunk/SimpleTemplateSets/templates/vanilla+archives/entry_listing.mtml @ 891

Revision 891, 1.3 kB (checked in by bsmith, 16 months ago)

committing initial Vanilla sets

  • Property svn:executable set to *
Line 
1<mt:IncludeBlock module="wrapper">
2
3    <h1><__trans phrase="[_1] Archives" params="<$mt:ArchiveTitle$>"></h1>
4   
5    <p>archive_template: <mt:if name="archive_template">true</mt:if></p>
6
7    <mt:Entries>
8        <h2><a href="<$mt:EntryPermalink$>"><$mt:EntryTitle$></a></h2>
9        <p><__trans phrase="By [_1] on [_2]" params="<$mt:EntryAuthorLink$>%%<$mt:EntryDate format="%x %X"$>"></p>
10        <mt:If tag="EntryBody">
11            <$mt:EntryBody$>
12        </mt:If>
13        <mt:If tag="EntryMore" convert_breaks="0">
14            <em><__trans phrase="Continue reading <a href="[_1]">[_2]</a>." params="<$mt:EntryPermalink$>%%<$mt:EntryTitle$>"></em>
15        </mt:If>
16    </mt:Entries>
17   
18    <mt:If name="category_archive">
19        <mt:setvarblock name="foobar">
20            <h3><__trans phrase="[_1] Category-Monthly Archives" params="<$mt:ArchiveTitle$>"></h3>
21            <ul>
22            <mt:if name="category_monthly_archive">
23                <li><strong><a href="<$mt:CategoryArchiveLink$>"><__trans phrase='main "[_1]" category archive' params="<$mt:CategoryLabel$>"></a></strong></li>
24            </mt:if>
25            <mt:ArchiveList archive_type="Category-Monthly">
26                <li><a href="<$mt:ArchiveLink$>"><$mt:ArchiveTitle$></a></li>
27            </mt:ArchiveList>
28            </ul>
29        </mt:setvarblock>
30    </mt:If>
31
32</mt:IncludeBlock>
Note: See TracBrowser for help on using the browser.