Dotclear

source: inc/public/default-templates/currywurst/post.html @ 2692:71e484ad645a

Revision 2692:71e484ad645a, 2.8 KB checked in by franck <carnet.franck.paul@…>, 11 years ago (diff)

Applying inheritance/extension template mechanism on currywurst templateset, step 3, addresses #1933

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"head-linkrel">
22     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
23     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
24     <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext>
25     <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious>
26     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
27</tpl:Block>
28
29<tpl:Block name="html-head">
30     {{tpl:parent}}
31
32     <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script>
33     <script type="text/javascript">
34          //<![CDATA[
35          var post_remember_str = '{{tpl:lang Remember me on this blog}}';
36          //]]>
37     </script>
38</tpl:Block>
39
40<tpl:block name="body-tag"><body class="dc-post"></tpl:Block>
41
42<tpl:Block name="page-top">
43     {{tpl:EntryPingData}}
44     {{tpl:parent}}
45</tpl:Block>
46
47<tpl:Block name="main-content">
48     <p class="navlinks topnl">
49          <tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
50           title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1"
51           cut_string="50"}}</a></tpl:EntryPrevious>
52          <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}"
53           title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
54           cut_string="50"}} &#187;</a></tpl:EntryNext>
55     </p>
56
57     {{tpl:include src="_simple-entry.html"}}
58
59     <p class="navlinks">
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     </p>
67</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map