Dotclear

source: inc/public/default-templates/mustek/__layout.html @ 3226:79495cfe0029

Revision 3226:79495cfe0029, 7.6 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     <tpl:Block name="html-head">
5          <meta charset="UTF-8" />
6
7          <tpl:Block name="head-title">
8               <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
9          </tpl:Block>   <!-- head-title -->
10
11          <tpl:Block name="head-meta">
12               <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
13               <tpl:Block name="meta-robots">
14                    <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
15               </tpl:Block>   <!-- meta-robots -->
16               <tpl:Block name="meta-entry">
17                    <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>" />
18                    <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
19                    <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
20               </tpl:Block>   <!-- meta-entry -->
21          </tpl:Block>   <!-- head-meta -->
22
23          <tpl:Block name="head-dc">
24               <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
25               <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
26               <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
27               <meta property="dc.type" content="text" />
28               <meta property="dc.format" content="text/html" />
29               <tpl:Block name="dc-entry">
30                    <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
31                    <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
32                    <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
33                    <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
34               </tpl:Block>   <!-- dc-entry -->
35          </tpl:Block>   <!-- head-dc -->
36
37          <tpl:Block name="head-linkrel">
38               <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
39               <tpl:Categories>
40                    <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
41               </tpl:Categories>
42
43               <tpl:Entries no_content="1">
44                    <tpl:EntriesHeader>
45                         <tpl:Pagination>
46                              <tpl:PaginationIf end="0">
47                                   <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
48                              </tpl:PaginationIf>
49
50                              <tpl:PaginationIf start="0">
51                                   <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
52                              </tpl:PaginationIf>
53                         </tpl:Pagination>
54                    </tpl:EntriesHeader>
55
56                    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
57               </tpl:Entries>
58
59               <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
60               <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
61               <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
62          </tpl:Block>   <!-- head-linkrel -->
63
64          {{tpl:include src="_head.html"}}
65     </tpl:Block>   <!-- html-head -->
66</head>
67<tpl:Block name="body-tag">
68     <body class="dc-home">
69</tpl:Block>
70     <tpl:Block name="html-body">
71          <div id="page">
72               <tpl:Block name="body-page">
73                    <tpl:Block name="page-top">
74                         {{tpl:include src="_top.html"}}
75                    </tpl:Block>   <!-- page-top -->
76
77                    <div id="wrapper">
78                         <tpl:Block name="page-wrapper">
79                              <div id="main" role="main">
80                                   <tpl:Block name="wrapper-main">
81                                        <tpl:Block name="main-breadcrumb">
82                                             {{tpl:Breadcrumb}}
83                                        </tpl:Block>
84                                        <div id="content">
85                                             <tpl:Block name="main-content">
86                                                  <tpl:Entries>
87                                                       <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
88                                                       <!-- # New day date -->
89                                                       <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
90
91                                                       <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
92
93                                                       <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
94                                                       {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
95                                                       <tpl:EntryIf has_category="1">
96                                                       - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
97                                                       </tpl:EntryIf>
98                                                       </p>
99
100                                                       <tpl:EntryTags>
101                                                       <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
102                                                       <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
103                                                       <tpl:TagsFooter></ul></tpl:TagsFooter>
104                                                       </tpl:EntryTags>
105
106                                                       <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
107                                                       {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
108
109                                                       <!-- # Entry with an excerpt -->
110                                                       <tpl:EntryIf extended="1">
111                                                            <div class="post-content">{{tpl:EntryExcerpt}}</div>
112                                                            <p class="read-it"><a href="{{tpl:EntryURL}}"
113                                                            title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
114                                                            reading}}</a><span class="readmore-ellipsis">...</span></p>
115                                                       </tpl:EntryIf>
116
117                                                       <!-- # Entry without excerpt -->
118                                                       <tpl:EntryIf extended="0">
119                                                            <div class="post-content">{{tpl:EntryContent}}</div>
120                                                       </tpl:EntryIf>
121
122                                                       <!-- # --BEHAVIOR-- publicEntryAfterContent -->
123                                                       {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
124
125                                                       <!-- # Number of comments, trackbacks and attachments -->
126                                                       <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
127                                                            <p class="post-info-co">
128                                                       </tpl:EntryIf>
129                                                       <tpl:EntryIf show_comments="1">
130                                                            <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
131                                                       </tpl:EntryIf>
132                                                       <tpl:EntryIf show_pings="1">
133                                                            <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
134                                                       <tpl:EntryIf has_attachment="1">
135                                                            <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
136                                                       <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
137                                                            </p>
138                                                       </tpl:EntryIf>
139                                                       </div>
140
141                                                       <tpl:EntriesFooter>
142                                                            <tpl:Pagination>
143                                                                 <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
144                                                                 {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
145                                                                 {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
146                                                                 <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
147                                                                 &#187;</a></tpl:PaginationIf></p>
148                                                            </tpl:Pagination>
149                                                       </tpl:EntriesFooter>
150                                                  </tpl:Entries>
151                                             </tpl:Block>   <!-- main-content -->
152                                        </div> <!-- End #content -->
153                                   </tpl:Block>   <!-- wrapper-main -->
154                              </div> <!-- End #main -->
155
156                              <tpl:Block name="wrapper-sidebar">
157                                   <div id="sidebar" role="complementary">
158                                        <div id="blognav">
159                                             {{tpl:Widgets type="nav"}}
160                                        </div> <!-- End #blognav -->
161                                        <div id="blogextra">
162                                             {{tpl:Widgets type="extra"}}
163                                        </div> <!-- End #blogextra -->
164                                   </div>
165                              </tpl:Block>   <!-- wrapper-sidebar -->
166                         </tpl:Block>   <!-- page-wrapper -->
167                    </div> <!-- End #wrapper -->
168
169                    <tpl:Block name="page-footer">
170                         {{tpl:include src="_footer.html"}}
171                    </tpl:Block>   <!-- page-footer -->
172               </tpl:Block>   <!-- body-page -->
173          </div> <!-- End #page -->
174     </tpl:Block>   <!-- html-body -->
175</body>
176</html>
Note: See TracBrowser for help on using the repository browser.

Sites map