Dotclear

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

Revision 3422:d294032fcdd4, 2.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                    <tpl:PaginationIf start="0">
20                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
21                    </tpl:PaginationIf>
22               </tpl:Pagination>
23          </tpl:EntriesHeader>
24          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
25     </tpl:Entries>
26     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
27</tpl:Block>
28
29<tpl:Block name="body-tag"><body class="dc-search"></tpl:Block>
30
31<tpl:Block name="main-content">
32     <header id="content-info">
33          <h2>{{tpl:lang Search}}</h2>
34          <tpl:SysIf search_count="==0">
35               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
36          </tpl:SysIf>
37          <tpl:SysIf search_count="==1">
38               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
39          </tpl:SysIf>
40          <tpl:SysIf search_count="&gt;1">
41               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
42          </tpl:SysIf>
43     </header>
44
45     <div class="content-inner">
46          <tpl:Entries>
47
48               {{tpl:include src="_entry-short.html"}}
49
50               <tpl:EntriesFooter>
51                    <tpl:Pagination>
52                         <p class="pagination">
53                              <tpl:PaginationIf end="0">
54                                   <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171; {{tpl:lang previous entries}}</a> -
55                              </tpl:PaginationIf>
56                               {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
57                              <tpl:PaginationIf start="0">
58                                    - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} &#187;</a>
59                              </tpl:PaginationIf>
60                         </p>
61                    </tpl:Pagination>
62               </tpl:EntriesFooter>
63          </tpl:Entries>
64     </div> <!-- End #content-inner -->
65</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map