Dotclear

source: inc/public/default-templates/currywurst/post.html @ 4003:58ac4ad9d676

Revision 4003:58ac4ad9d676, 2.5 KB checked in by franck <carnet.franck.paul@…>, 6 years ago (diff)

Switching from inline JS variables to JSON script, templates/themes

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

Sites map