Dotclear

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

Revision 3246:9b71237c9035, 3.5 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:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
5</tpl:Block>
6
7<tpl:Block name="meta-entry">
8     <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
9     <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
10     <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" />
11</tpl:Block>
12
13<tpl:Block name="dc-entry">
14     <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" />
15     <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
16     <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
17     <meta property="dc.language" content="{{tpl:EntryLang}}" />
18     <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" />
19</tpl:Block>
20
21<tpl:Block name="og-entry">
22     <meta property="og:title" content="{{tpl:EntryTitle encode_html="1"}}" />
23     <meta property="og:description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
24</tpl:Block>   <!-- #og-entry -->
25
26<tpl:Block name="schema-entry">
27     <meta itemprop="name" content="{{tpl:EntryTitle encode_html="1"}}" />
28     <meta itemprop="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
29</tpl:Block>   <!-- #schema-entry -->
30
31<tpl:Block name="head-linkrel">
32     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
33     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
34     <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf>
35     <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext>
36     <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious>
37     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
38</tpl:Block>
39
40<tpl:Block name="html-head">
41     {{tpl:parent}}
42
43     <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=post.js"></script>
44     <script type="text/javascript">
45          //<![CDATA[
46          var post_remember_str = '{{tpl:lang Remember me on this blog}}';
47          //]]>
48     </script>
49</tpl:Block>
50
51<tpl:Block name="body-tag"><body class="dc-post"></tpl:Block>
52
53<tpl:Block name="page-top">
54     {{tpl:EntryPingData}}
55     {{tpl:parent}}
56</tpl:Block>
57
58<tpl:Block name="main-content">
59     <nav class="navlinks topnl">
60          <tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
61           title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1"
62           cut_string="50"}}</a></tpl:EntryPrevious>
63          <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}"
64           title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
65           cut_string="50"}} &#187;</a></tpl:EntryNext>
66     </nav>
67
68     {{tpl:include src="_simple-entry.html"}}
69
70     <nav class="navlinks">
71          <tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
72           title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1"
73           cut_string="50"}}</a></tpl:EntryPrevious>
74          <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}"
75           title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
76           cut_string="50"}} &#187;</a></tpl:EntryNext>
77     </nav>
78</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map