Dotclear

source: inc/public/default-templates/currywurst/_entry-full.html @ 2623:4206c36666b0

Revision 2623:4206c36666b0, 2.0 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

New default tpl (aka Currywurst). Post formats (short, full, title).

RevLine 
[2604]1<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} full" lang="{{tpl:EntryLang}}" role="article">
[2600]2
3     <!-- # New day date -->
[2619]4     <tpl:DateHeader><p class="post-day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
[2600]5
6     <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
7
8     <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
9     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
10
11     <tpl:EntryIf extended="1">
[2623]12     <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
[2600]13     </tpl:EntryIf>
[2623]14
[2600]15     <div class="post-content">{{tpl:EntryContent}}</div>
16
17     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
18     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
19
[2619]20     <div class="post-meta">
21          <p class="post-info">
22               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
[2623]23               <span class="post-date">{{tpl:EntryDate}}.</span>
24               <tpl:EntryIf has_category="1">
25               <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
[2619]26                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
27                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
[2623]28               </span>
29               </tpl:EntryIf>
30          </p>
[2619]31
32          <tpl:EntryTags>
33               <tpl:TagsHeader>
[2623]34               <ul class="post-tags-list">
[2619]35               </tpl:TagsHeader>
[2623]36                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
[2619]37               <tpl:TagsFooter>
[2623]38               </ul>
[2619]39               </tpl:TagsFooter>
40          </tpl:EntryTags>
41
42          <!-- # Number of comments, trackbacks and attachments -->
43          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
44               <p class="post-info-co">
45               <tpl:EntryIf show_comments="1">
[2623]46               <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
[2619]47               </tpl:EntryIf>
48               <tpl:EntryIf show_pings="1">
[2623]49               <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
[2619]50               <tpl:EntryIf has_attachment="1">
[2623]51               <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
[2619]52               </p>
53          </tpl:EntryIf>
54     </div>
[2600]55</div>
Note: See TracBrowser for help on using the repository browser.

Sites map