1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
2 | lang="en" |
---|
3 | metal:use-macro="here/main_template/macros/master" |
---|
4 | i18n:domain="SimpleBlog"> |
---|
5 | <body> |
---|
6 | <div metal:fill-slot="main"> |
---|
7 | <tal:main-macro metal:define-macro="main"> |
---|
8 | <tal:block tal:define="obj python:here"> |
---|
9 | <div metal:define-macro="full"> |
---|
10 | <tal:block metal:use-macro="here/SimpleBlog_macros/macros/blogGlobals"/> |
---|
11 | <div metal:use-macro="here/document_actions/macros/document_actions"> |
---|
12 | Document actions (print, sendto etc) |
---|
13 | </div> |
---|
14 | <h1 class="documentFirstHeading" |
---|
15 | tal:condition="showIcons"> |
---|
16 | <span tal:define="item_type obj/portal_type; |
---|
17 | item_type_class python:'contenttype-' + normalizeString(item_type);" |
---|
18 | tal:attributes="class string:simpleBlogIcons ${item_type_class}" tal:content="object_title"/></h1> |
---|
19 | <h1 class="documentFirstHeading" |
---|
20 | tal:content="object_title" |
---|
21 | tal:condition="not:showIcons"></h1> |
---|
22 | <span metal:use-macro="obj/review_history/macros/review_history" /> |
---|
23 | <p class="documentDescription" |
---|
24 | tal:content="structure here/Description" |
---|
25 | tal:condition="here/Description"> |
---|
26 | Description |
---|
27 | </p> |
---|
28 | <div style="float:left;" |
---|
29 | tal:condition="isTopAdsenceEnabled"> |
---|
30 | <div tal:replace="structure python:modules['Products.adsenseproduct.util'].getCompiledAdsense(here, blog.getTopAdsence())" |
---|
31 | tal:on-error="string: "></div></div> |
---|
32 | <div tal:replace="structure python:obj.getBody()" /> |
---|
33 | <div style="float:left;" |
---|
34 | tal:condition="isBottomAdsenceEnabled"> |
---|
35 | <div tal:replace="structure python:modules['Products.adsenseproduct.util'].getCompiledAdsense(here, blog.getBottomAdsence())" |
---|
36 | tal:on-error="string: "></div></div> |
---|
37 | <tal:tags metal:use-macro="obj/simpleblog_byline/macros/technoratiTags"/> |
---|
38 | <tal:byline tal:condition="showByline"> |
---|
39 | <tal:x metal:use-macro="obj/simpleblog_byline/macros/byline-foot"/> |
---|
40 | </tal:byline> |
---|
41 | </div> |
---|
42 | </tal:block> |
---|
43 | </tal:main-macro> |
---|
44 | </div> |
---|
45 | <div metal:fill-slot="sub"> |
---|
46 | <tal:block tal:condition="showByline"> <metal:discussion use-macro="here/viewThreadsAtBottom/macros/discussionView" /></tal:block> |
---|
47 | </div> |
---|
48 | |
---|
49 | </body> |
---|
50 | </html> |
---|