Dotclear

source: inc/public/default-templates/mustek/category.html @ 3004:642faf281b31

Revision 3004:642faf281b31, 6.7 KB checked in by franck <carnet.franck.paul@…>, 10 years ago (diff)

Encapsulate ... (used in "Read more…" for short format of entries) with a <span class="readmore-ellipsis"></span>, fixes #2088

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4  <meta charset="UTF-8" />
5  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
6
7  <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
8  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription encode_html="1" cut_string="180" remove_html="1"}}" />
9  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
10  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
11  <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
12
13  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
14  <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
15  <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" />
16  <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
17  <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
18  <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
19  <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
20  <meta property="dc.type" content="text" />
21  <meta property="dc.format" content="text/html" />
22
23  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
24  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
25
26  <tpl:Entries no_content="1">
27    <tpl:EntriesHeader>
28      <tpl:Pagination>
29        <tpl:PaginationIf end="0">
30        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
31        </tpl:PaginationIf>
32
33        <tpl:PaginationIf start="0">
34        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
35        </tpl:PaginationIf>
36      </tpl:Pagination>
37    </tpl:EntriesHeader>
38
39    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
40  </tpl:Entries>
41
42  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
43
44  {{tpl:include src="_head.html"}}
45</head>
46
47<body class="dc-category">
48<div id="page">
49{{tpl:include src="_top.html"}}
50
51<div id="wrapper">
52
53<div id="main" role="main">
54  <div id="content">
55
56  <div id="content-info">
57    <h2><tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>
58    {{tpl:CategoryTitle encode_html="1"}}</h2>
59    {{tpl:CategoryDescription}}
60
61    <tpl:CategoryIf has_entries="1">
62      <p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
63      title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
64
65      <tpl:SysIf operator="or" comments_active="1" pings_active="1">
66      - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
67      title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
68      </tpl:SysIf>
69      </p>
70    </tpl:CategoryIf>
71  </div>
72
73  <tpl:CategoryFirstChildren>
74    <tpl:CategoriesHeader>
75      <div id="subcategories">
76      <h3>{{tpl:lang Subcategories}}</h3>
77      <ul>
78    </tpl:CategoriesHeader>
79    <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
80    <tpl:CategoriesFooter>
81      </ul>
82      </div>
83    </tpl:CategoriesFooter>
84  </tpl:CategoryFirstChildren>
85
86  <tpl:Entries>
87    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
88    <!-- # New day date -->
89    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
90
91    <h2 class="post-title"><a
92    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
93
94    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
95    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}</p>
96
97    <tpl:EntryTags>
98    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
99    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
100    <tpl:TagsFooter></ul></tpl:TagsFooter>
101    </tpl:EntryTags>
102
103    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
104    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
105
106    <!-- # Entry with an excerpt -->
107    <tpl:EntryIf extended="1">
108      <div class="post-content">{{tpl:EntryExcerpt}}</div>
109      <p class="read-it"><a href="{{tpl:EntryURL}}"
110      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
111      reading}}</a><span class="readmore-ellipsis">...</span></p>
112    </tpl:EntryIf>
113
114    <!-- # Entry without excerpt -->
115    <tpl:EntryIf extended="0">
116      <div class="post-content">{{tpl:EntryContent}}</div>
117    </tpl:EntryIf>
118
119    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
120    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
121
122    <!-- # Number of comments, trackbacks and attachments -->
123    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
124      <p class="post-info-co">
125    </tpl:EntryIf>
126    <tpl:EntryIf show_comments="1">
127      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
128    </tpl:EntryIf>
129    <tpl:EntryIf show_pings="1">
130      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
131    <tpl:EntryIf has_attachment="1">
132      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
133    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
134      </p>
135    </tpl:EntryIf>
136    </div>
137
138    <tpl:EntriesFooter>
139      <tpl:Pagination>
140        <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
141        {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
142        {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
143        <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
144        &#187;</a></tpl:PaginationIf></p>
145      </tpl:Pagination>
146    </tpl:EntriesFooter>
147  </tpl:Entries>
148  </div>
149</div> <!-- End #main -->
150
151<div id="sidebar" role="complementary">
152  <div id="blognav">
153    {{tpl:Widgets type="nav"}}
154  </div> <!-- End #blognav -->
155
156  <div id="blogextra">
157    {{tpl:Widgets type="extra"}}
158  </div> <!-- End #blogextra -->
159</div>
160
161</div> <!-- End #wrapper -->
162
163{{tpl:include src="_footer.html"}}
164</div> <!-- End #page -->
165</body>
166</html>
Note: See TracBrowser for help on using the repository browser.

Sites map