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).

Line 
1<div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}} full" lang="{{tpl:EntryLang}}" role="article">
2
3     <!-- # New day date -->
4     <tpl:DateHeader><p class="post-day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
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">
12     <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
13     </tpl:EntryIf>
14
15     <div class="post-content">{{tpl:EntryContent}}</div>
16
17     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
18     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
19
20     <div class="post-meta">
21          <p class="post-info">
22               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
23               <span class="post-date">{{tpl:EntryDate}}.</span>
24               <tpl:EntryIf has_category="1">
25               <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
26                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
27                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
28               </span>
29               </tpl:EntryIf>
30          </p>
31
32          <tpl:EntryTags>
33               <tpl:TagsHeader>
34               <ul class="post-tags-list">
35               </tpl:TagsHeader>
36                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
37               <tpl:TagsFooter>
38               </ul>
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">
46               <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
47               </tpl:EntryIf>
48               <tpl:EntryIf show_pings="1">
49               <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
50               <tpl:EntryIf has_attachment="1">
51               <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
52               </p>
53          </tpl:EntryIf>
54     </div>
55</div>
Note: See TracBrowser for help on using the repository browser.

Sites map