Dotclear

source: themes/ductile/tpl/home.html @ 3226:79495cfe0029

Revision 3226:79495cfe0029, 3.7 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Do not keep html tags in blog description other that in <body> or in xml html-type fields

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4     <meta charset="UTF-8" />
5     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
6
7     <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
8     <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" remove_html="1" encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
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:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
15     <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
16     <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
17     <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
18     <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
19     <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
20     <meta name="dc.type" content="text" />
21     <meta name="dc.format" content="text/html" />
22
23     <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
24     <tpl:Categories>
25          <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
26     </tpl:Categories>
27
28     {{tpl:ductileNbEntryPerPage nb="8"}}
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<body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>">
52     <div id="page">
53          {{tpl:include src="_top.html"}}
54
55          <div id="wrapper">
56
57               <div id="main">
58                    <div id="content">
59
60                         {{tpl:ductileNbEntryPerPage nb="8"}}
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