Dotclear

source: inc/public/default-templates/currywurst/_entry-short.html @ 3431:48ca825d24b9

Revision 3431:48ca825d24b9, 3.0 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Continue reading link not needed if entry content is not cut

Line 
1<div id="p{{tpl:EntryID}}" class="post short {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" 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     <!-- # Entry with an excerpt -->
12     <tpl:EntryIf extended="1">
13          <div class="post-content">
14               {{tpl:EntryFirstImage size="t" class="post-icon"}}
15               {{tpl:EntryExcerpt}}
16          </div>
17          <p class="post-read-it"><a href="{{tpl:EntryURL}}"
18           title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
19     </tpl:EntryIf>
20
21     <!-- # Entry without excerpt -->
22     <tpl:EntryIf extended="0">
23          <div class="post-content">
24               {{tpl:EntryFirstImage size="t" class="post-icon"}}
25               <p>
26                    {{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}
27                    <tpl:EntryIfContentCut encode_html="1" remove_html="1" cut_string="300">
28                         <span class="ellipsis">&nbsp;[&#8230;]</span>
29                    </tpl:EntryIfContentCut>
30               </p>
31          </div>
32          <tpl:EntryIfContentCut encode_html="1" remove_html="1" cut_string="300">
33               <p class="post-read-it"><a href="{{tpl:EntryURL}}"
34                title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
35          </tpl:EntryIfContentCut>
36     </tpl:EntryIf>
37
38     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
39     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
40
41     <div class="post-meta">
42          <p class="post-info">
43               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
44               <span class="post-date">{{tpl:EntryDate}}.</span>
45               <tpl:EntryIf has_category="1">
46               <span class="post-cat"><tpl:EntryCategoriesBreadcrumb><a
47                    href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> › </tpl:EntryCategoriesBreadcrumb><a
48                    href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
49               </tpl:EntryIf>
50          </p>
51
52          <tpl:EntryTags>
53               <tpl:TagsHeader>
54                    <ul class="post-tags-list">
55               </tpl:TagsHeader>
56                    <li class="post-tags-item"><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
57               <tpl:TagsFooter>
58                    </ul>
59               </tpl:TagsFooter>
60          </tpl:EntryTags>
61
62          <!-- # Number of comments, trackbacks and attachments -->
63          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
64               <p class="post-info-co">
65          </tpl:EntryIf>
66               <tpl:EntryIf show_comments="1">
67                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
68               </tpl:EntryIf>
69               <tpl:EntryIf show_pings="1">
70                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
71               <tpl:EntryIf has_attachment="1">
72                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
73          <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
74               </p>
75          </tpl:EntryIf>
76     </div>
77</div>
Note: See TracBrowser for help on using the repository browser.

Sites map