Dotclear

source: themes/ductile/tpl/archive.html @ 487:1c08e5071032

Revision 487:1c08e5071032, 4.7 KB checked in by kozlika, 14 years ago (diff)

[Ductile] Archives, step 2.

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}}" />
7 
8  <title>{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}</title>
9  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
10  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
11  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
12 
13  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
14  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Archives}} - {{tpl:BlogName encode_html="1"}}" />
15  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
16  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
17  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
18  <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
19  <meta name="dc.type" content="text" />
20  <meta name="dc.format" content="text/html" />
21 
22  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
23 
24  <tpl:Archives>
25    <link rel="chapter" href="{{tpl:ArchiveURL}}" title="{{tpl:ArchiveDate encode_html="1"}}" />
26  </tpl:Archives>
27 
28  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
29  <tpl:Categories>
30  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
31  </tpl:Categories>
32  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
33 
34  {{tpl:include src="_head.html"}}
35</head>
36
37<body class="dc-archive">
38<div id="page">
39{{tpl:include src="_top.html"}}
40
41<div id="wrapper">
42
43<div id="main">
44  <div id="content">
45 
46  <div id="content-info">
47    <h2>{{tpl:lang Archives}}</h2>
48  </div>
49 
50  <div class="content-inner">
51
52<!-- entries sorted by date -->
53          <div id="by-date" class="arch-block">
54               <h3>{{tpl:lang By date}}</h3>
55               <p class="fromto">{{tpl:lang From}} <tpl:Entries no_content="1" order="asc" lastn="1"><a href="{{tpl:EntryURL}}">{{tpl:EntryDate format="%d %B %Y"}}</a></tpl:Entries> {{tpl:lang to}} <tpl:Entries no_content="1" order="desc" lastn="1"><a href="{{tpl:EntryURL}}">{{tpl:EntryDate format="%d %B %Y"}}</a></tpl:Entries></p>
56          <tpl:Archives order="asc">
57              <tpl:ArchivesYearHeader>
58               <div>
59                <h4>{{tpl:ArchiveDate format="%Y"}}</h4>
60                <ul>
61                   </tpl:ArchivesYearHeader>
62                     <li><a href="{{tpl:ArchiveURL}}"
63                     title="{{tpl:ArchiveDate encode_html="1"}}">{{tpl:ArchiveDate encode_html="1" format="%B"}}</a>
64                     <span>({{tpl:ArchiveEntriesCount}})</span></li>
65                   <tpl:ArchivesYearFooter>
66                </ul>
67                </div>
68              </tpl:ArchivesYearFooter>
69          </tpl:Archives>
70       </div>
71       
72       <hr class="hidden" />
73
74<!-- entries sorted by others criterias --> 
75          <tpl:Categories level="1">
76               <tpl:CategoriesHeader>
77                    <div id="by-cat" class="arch-block">
78                    <h3>{{tpl:lang By category}}</h3>
79                    <ul>
80               </tpl:CategoriesHeader>
81                    <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a>
82                    <tpl:CategoryFirstChildren>
83                         <tpl:CategoriesHeader>
84                         <ul>
85                         </tpl:CategoriesHeader>
86                              <li><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></li>                   
87                         <tpl:CategoriesFooter>
88                         </ul>
89                         </tpl:CategoriesFooter>
90                    </tpl:CategoryFirstChildren>           
91                    </li>
92               <tpl:CategoriesFooter>
93               </ul>
94               </div>
95               </tpl:CategoriesFooter>
96          </tpl:Categories>
97     
98          <tpl:Tags sortby="count" order="desc">
99               <tpl:TagsHeader>
100               <div id="by-tag" class="arch-block">
101                    <h3>{{tpl:lang By tag}}</h3>
102                    <ul>
103               </tpl:TagsHeader>
104                         <li><a href="{{tpl:TagURL}}" class="tag{{tpl:TagRoundPercent}}">{{tpl:TagID}}</a></li>
105               <tpl:TagsFooter>
106                    </ul>     
107               </div>
108               </tpl:TagsFooter>
109          </tpl:Tags>
110         
111          <hr class="hidden" />
112
113<!-- others things -->       
114          <div class="arch-block">
115               <tpl:Entries type="page" no_content="1">
116                    <tpl:EntriesHeader><h3>{{tpl:lang Pages}}</h3>
117                         <ul></tpl:EntriesHeader>
118                         <li><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></li>
119                    <tpl:EntriesFooter></ul></tpl:EntriesFooter>
120               </tpl:Entries>
121          </div>
122     
123  </div> <!-- End .content-inner -->
124 
125  </div> <!-- End #main -->
126</div> <!-- End #main -->
127
128<div id="sidebar">
129  <div id="blognav">
130          <tpl:Widget id="search">
131          </tpl:Widget>
132  </div> <!-- End #blognav -->
133
134  <div id="blogextra">
135          {{tpl:Widgets type="extra"}}
136     </div>
137
138  </div> <!-- End #blogextra -->
139</div>
140
141</div> <!-- End #wrapper -->
142
143{{tpl:include src="_footer.html"}}
144</div> <!-- End #page -->
145</body>
146</html>
Note: See TracBrowser for help on using the repository browser.

Sites map