Dotclear

source: inc/public/default-templates/dotty/search.html @ 3371:e723ede3c238

Revision 3371:e723ede3c238, 2.6 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Bye bye Dublin-Core metadata in <head>, closes #2074

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="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
13     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
14     <tpl:Entries no_content="1">
15          <tpl:EntriesHeader>
16               <tpl:Pagination>
17                    <tpl:PaginationIf end="0">
18                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
19                    </tpl:PaginationIf>
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     <header 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     </header>
45
46     <div class="content-inner">
47          <tpl:Entries>
48
49               {{tpl:include src="_entry-short.html"}}
50
51               <tpl:EntriesFooter>
52                    <tpl:Pagination>
53                         <p class="pagination">
54                              <tpl:PaginationIf end="0">
55                                   <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171; {{tpl:lang previous entries}}</a> -
56                              </tpl:PaginationIf>
57                               {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
58                              <tpl:PaginationIf start="0">
59                                    - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} &#187;</a>
60                              </tpl:PaginationIf>
61                         </p>
62                    </tpl:Pagination>
63               </tpl:EntriesFooter>
64          </tpl:Entries>
65     </div> <!-- End #content-inner -->
66</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map