Dotclear

source: inc/public/default-templates/dotty/search.html @ 3246:9b71237c9035

Revision 3246:9b71237c9035, 4.0 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

New dotty html5 template set, first step ; addresses #2061

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="dc-entry">
12     <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
13     <meta property="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
14     <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
15     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
16</tpl:Block>   <!-- dc-title-head -->
17
18<tpl:Block name="og-entry">
19     <meta property="og:title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
20     <meta property="og:description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
21</tpl:Block>   <!-- #og-entry -->
22
23<tpl:Block name="schema-entry">
24     <meta itemprop="name" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
25     <meta itemprop="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}" />
26</tpl:Block>   <!-- #schema-entry -->
27
28<tpl:Block name="head-linkrel">
29     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
30     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
31     <tpl:Entries no_content="1">
32          <tpl:EntriesHeader>
33               <tpl:Pagination>
34                    <tpl:PaginationIf end="0">
35                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
36                    </tpl:PaginationIf>
37                    <tpl:PaginationIf start="0">
38                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
39                    </tpl:PaginationIf>
40               </tpl:Pagination>
41          </tpl:EntriesHeader>
42          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
43     </tpl:Entries>
44     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
45</tpl:Block>
46
47<tpl:Block name="body-tag"><body class="dc-search"></tpl:Block>
48
49<tpl:Block name="main-content">
50     <header id="content-info">
51          <h2>{{tpl:lang Search}}</h2>
52          <tpl:SysIf search_count="==0">
53               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
54          </tpl:SysIf>
55          <tpl:SysIf search_count="==1">
56               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
57          </tpl:SysIf>
58          <tpl:SysIf search_count="&gt;1">
59               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
60          </tpl:SysIf>
61     </header>
62
63     <div class="content-inner">
64          <tpl:Entries>
65
66               {{tpl:include src="_entry-short.html"}}
67
68               <tpl:EntriesFooter>
69                    <tpl:Pagination>
70                         <p class="pagination">
71                              <tpl:PaginationIf end="0">
72                                   <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171; {{tpl:lang previous entries}}</a> -
73                              </tpl:PaginationIf>
74                               {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
75                              <tpl:PaginationIf start="0">
76                                    - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} &#187;</a>
77                              </tpl:PaginationIf>
78                         </p>
79                    </tpl:Pagination>
80               </tpl:EntriesFooter>
81          </tpl:Entries>
82     </div> <!-- End #content-inner -->
83</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map