Dotclear

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

Revision 563:87842010f794, 3.7 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}}" />
7 
8  <title>{{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:BlogDescription cut_string="180" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
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: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:BlogDescription encode_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="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
25  <tpl:Categories>
26  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
27  </tpl:Categories>
28 
29  <tpl:Entries no_content="1">
30    <tpl:EntriesHeader>
31      <tpl:Pagination>
32        <tpl:PaginationIf end="0">
33        <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
34        </tpl:PaginationIf>
35       
36        <tpl:PaginationIf start="0">
37        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
38        </tpl:PaginationIf>
39      </tpl:Pagination>
40    </tpl:EntriesHeader>
41   
42    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
43  </tpl:Entries>
44 
45  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
46  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
47  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
48 
49  {{tpl:include src="_head.html"}}
50</head>
51
52<body class="dc-home">
53<div id="page">
54{{tpl:include src="_top.html"}}
55
56<div id="wrapper">
57
58<div id="main">
59  <div id="content">
60
61  <tpl:Entries>
62
63          <!-- First page -->
64          <tpl:SysIf current_mode="default">
65               <tpl:LoopPosition start="1" length="1">
66                    {{tpl:include src="_entry-full.html"}}
67               </tpl:LoopPosition>
68     
69               <tpl:LoopPosition start="2">
70                    {{tpl:ductileEntriesList default="short"}}
71               </tpl:LoopPosition>
72          </tpl:SysIf>
73     
74          <!-- Next pages -->
75          <tpl:SysIf current_mode="!default">
76               {{tpl:ductileEntriesList default="short"}}
77          </tpl:SysIf>   
78
79          <!-- Pagination -->
80    <tpl:EntriesFooter>
81               {{tpl:include src="_pagination.html"}}
82    </tpl:EntriesFooter>
83
84  </tpl:Entries>
85
86  </div> <!-- End #content -->
87</div> <!-- End #main -->
88
89{{tpl:include src="_sidebar.html"}}
90
91</div> <!-- End #wrapper -->
92
93{{tpl:include src="_footer.html"}}
94</div> <!-- End #page -->
95</body>
96</html>
Note: See TracBrowser for help on using the repository browser.

Sites map