Dotclear

source: inc/public/default-templates/mustek/category.html @ 3371:e723ede3c238

Revision 3371:e723ede3c238, 5.3 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Bye bye Dublin-Core metadata in <head>, closes #2074

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

Sites map