Dotclear

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

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

Sites map