Dotclear

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

Revision 3371:e723ede3c238, 3.2 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>
45               <tpl:CategoryParents>
46                    <a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo;
47               </tpl:CategoryParents>
48               {{tpl:CategoryTitle encode_html="1"}}
49          </h2>
50
51          <tpl:CategoryIf has_entries="1">
52               <ul class="content-info__feed">
53                    <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
54                     title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></li>
55
56                    <tpl:SysIf operator="or" comments_active="1" pings_active="1">
57                          <li><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
58                          title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></li>
59                    </tpl:SysIf>
60               </ul>
61          </tpl:CategoryIf>
62
63          <div class="content-info__cat-desc">
64               {{tpl:CategoryDescription}}
65          </div>
66
67
68          <tpl:CategoryFirstChildren>
69               <tpl:CategoriesHeader>
70                    <div id="subcategories" class="content-info__sub-cat">
71                         <h3>{{tpl:lang Subcategories}}</h3>
72                         <ul>
73               </tpl:CategoriesHeader>
74                              <li class="post-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>
75               <tpl:CategoriesFooter>
76                         </ul>
77                    </div>
78               </tpl:CategoriesFooter>
79          </tpl:CategoryFirstChildren>
80     </div>    <!-- End #content-info -->
81
82     <div class="content-inner">
83          <tpl:Entries>
84               {{tpl:include src="_entry-short.html"}}
85
86               <tpl:EntriesFooter>
87                    {{tpl:include src="_pagination.html"}}
88               </tpl:EntriesFooter>
89          </tpl:Entries>
90     </div> <!-- End #content-inner -->
91</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map