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

RevLine 
[2830]1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
[436]3<head>
[2830]4     <meta charset="UTF-8" />
[615]5     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
[2566]6
[615]7     <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
[3226]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>" />
[615]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"}}" />
[2566]12
[615]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>" />
[3226]15     <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
[615]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" />
[2566]22
[615]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>
[2566]27
[615]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>
[2566]35
[615]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>
[2566]41
[615]42          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
43     </tpl:Entries>
[2566]44
[615]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}}" />
[2566]48
[615]49     {{tpl:include src="_head.html"}}
[436]50</head>
[666]51<body class="dc-home <tpl:SysIf current_mode="default">dc-home-first</tpl:SysIf>">
[615]52     <div id="page">
53          {{tpl:include src="_top.html"}}
[2566]54
[615]55          <div id="wrapper">
[2566]56
[615]57               <div id="main">
58                    <div id="content">
[2566]59
[615]60                         {{tpl:ductileNbEntryPerPage nb="8"}}
61                         <tpl:Entries>
[2566]62
[615]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>
[2566]68
[615]69                                   <tpl:LoopPosition start="2">
70                                        {{tpl:ductileEntriesList default="short"}}
71                                   </tpl:LoopPosition>
72                              </tpl:SysIf>
[2566]73
[615]74                              <!-- Next pages -->
75                              <tpl:SysIf current_mode="!default">
76                                   {{tpl:ductileEntriesList default="short"}}
[2566]77                              </tpl:SysIf>
78
[615]79                              <!-- Pagination -->
80                              <tpl:EntriesFooter>
81                                   {{tpl:include src="_pagination.html"}}
82                              </tpl:EntriesFooter>
[2566]83
[615]84                         </tpl:Entries>
[2566]85
[615]86                    </div> <!-- End #content -->
87               </div> <!-- End #main -->
[2566]88
[615]89               {{tpl:include src="_sidebar.html"}}
[2566]90
[615]91          </div> <!-- End #wrapper -->
[2566]92
[615]93          {{tpl:include src="_footer.html"}}
94     </div> <!-- End #page -->
[436]95</body>
[2566]96</html>
Note: See TracBrowser for help on using the repository browser.

Sites map