Dotclear

source: themes/ductile/tpl/category.html @ 563:87842010f794

Revision 563:87842010f794, 4.2 KB checked in by Franck <carnet.franck.paul@…>, 14 years ago (diff)

Mise en place gestion paramétrée des types de liste de billets (home, catégorie, search, tag, archive-month)

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX"}}" />
7 
8  <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
9  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_html="1"}}" />
10  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
11  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
12  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
13 
14  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
15  <meta name="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>" />
16  <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription remove_html="1"}}" />
17  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
18  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
19  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
20  <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
21  <meta name="dc.type" content="text" />
22  <meta name="dc.format" content="text/html" />
23 
24  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
25  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
26 
27  <tpl:Entries no_content="1">
28    <tpl:EntriesHeader>
29      <tpl:Pagination>
30        <tpl:PaginationIf end="0">
31        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
32        </tpl:PaginationIf>
33       
34        <tpl:PaginationIf start="0">
35        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
36        </tpl:PaginationIf>
37      </tpl:Pagination>
38    </tpl:EntriesHeader>
39   
40    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
41  </tpl:Entries>
42 
43  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
44 
45  {{tpl:include src="_head.html"}}
46</head>
47
48<body class="dc-category">
49<div id="page">
50{{tpl:include src="_top.html"}}
51
52<div id="wrapper">
53
54<div id="main">
55  <div id="content">
56
57  <div id="content-info">
58    <h2><tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>
59    {{tpl:CategoryTitle encode_html="1"}}</h2>
60    {{tpl:CategoryDescription}}
61   
62    <tpl:CategoryIf has_entries="1">
63      <p><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
64      title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a>
65     
66      <tpl:SysIf operator="or" comments_active="1" pings_active="1">
67      - <a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
68      title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a>
69      </tpl:SysIf>
70      </p>
71    </tpl:CategoryIf>
72 
73  <tpl:CategoryFirstChildren>
74    <tpl:CategoriesHeader>
75      <div id="subcategories">
76      <h3>{{tpl:lang Subcategories}}</h3>
77      <ul>
78    </tpl:CategoriesHeader>
79    <li class="post-cat"><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</div>
86 
87  <tpl:Entries>
88
89     {{tpl:ductileEntriesList default="short"}}
90   
91    <tpl:EntriesFooter>
92          {{tpl:include src="_pagination.html"}}
93  </tpl:Entries>
94  </div>
95</div> <!-- End #main -->
96
97{{tpl:include src="_sidebar.html"}}
98
99</div> <!-- End #wrapper -->
100
101{{tpl:include src="_footer.html"}}
102</div> <!-- End #page -->
103</body>
104</html>
Note: See TracBrowser for help on using the repository browser.

Sites map