Dotclear

source: inc/public/default-templates/mustek/search.html @ 3422:d294032fcdd4

Revision 3422:d294032fcdd4, 4.5 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

No more <link rel="top" …> neither <link rel="up" …> in HTML5

Line 
1{{tpl:extends parent="__layout.html"}}
2
3<tpl:Block name="head-title">
4     <title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
5</tpl:Block>
6
7<tpl:Block name="meta-robots">
8     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
9</tpl:Block>
10
11<tpl:Block name="head-linkrel">
12     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
13     <tpl:Entries no_content="1">
14          <tpl:EntriesHeader>
15               <tpl:Pagination>
16                    <tpl:PaginationIf end="0">
17                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
18                    </tpl:PaginationIf>
19
20                    <tpl:PaginationIf start="0">
21                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
22                    </tpl:PaginationIf>
23               </tpl:Pagination>
24          </tpl:EntriesHeader>
25          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
26     </tpl:Entries>
27     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
28</tpl:Block>
29
30<tpl:Block name="body-tag"><body class="dc-search"></tpl:Block>
31
32<tpl:Block name="main-content">
33     <div id="content-info">
34          <h2>{{tpl:lang Search}}</h2>
35          <tpl:SysIf search_count="==0">
36               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
37          </tpl:SysIf>
38          <tpl:SysIf search_count="==1">
39               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
40          </tpl:SysIf>
41          <tpl:SysIf search_count="&gt;1">
42               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
43          </tpl:SysIf>
44     </div>
45
46     <tpl:Entries>
47          <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
48               <!-- # New day date -->
49               <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
50
51               <h2 class="post-title"><a
52               href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
53
54               <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
55               {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
56               <tpl:EntryIf has_category="1">
57               - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
58               </tpl:EntryIf>
59               </p>
60
61               <tpl:EntryTags>
62                    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
63                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
64                    <tpl:TagsFooter></ul></tpl:TagsFooter>
65               </tpl:EntryTags>
66
67               <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
68               {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
69
70               <!-- # Entry with an excerpt -->
71               <tpl:EntryIf extended="1">
72                    <div class="post-content">{{tpl:EntryExcerpt}}</div>
73                    <p class="read-it"><a href="{{tpl:EntryURL}}"
74                    title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
75                    reading}}</a><span class="readmore-ellipsis">...</span></p>
76               </tpl:EntryIf>
77
78               <!-- # Entry without excerpt -->
79               <tpl:EntryIf extended="0">
80                    <div class="post-content">{{tpl:EntryContent}}</div>
81               </tpl:EntryIf>
82
83               <!-- # --BEHAVIOR-- publicEntryAfterContent -->
84               {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
85
86               <!-- # Number of comments, trackbacks and attachments -->
87               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
88                    <p class="post-info-co">
89               </tpl:EntryIf>
90               <tpl:EntryIf show_comments="1">
91                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
92               </tpl:EntryIf>
93               <tpl:EntryIf show_pings="1">
94                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
95               <tpl:EntryIf has_attachment="1">
96                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
97               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
98                    </p>
99               </tpl:EntryIf>
100          </div>
101
102          <tpl:EntriesFooter>
103               <tpl:Pagination>
104                    <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
105                    {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
106                    {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
107                    <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
108                    &#187;</a></tpl:PaginationIf></p>
109               </tpl:Pagination>
110          </tpl:EntriesFooter>
111     </tpl:Entries>
112</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map