source: trunk/skins/lemill/blogpost_view.pt @ 1570

Revision 1570, 838 bytes checked in by jukka, 13 years ago (diff)

Worked on #1280, added RSS-support. RSS for comments was surprisingly tricky, spent hours trying to get rss-buttons and rss-headerlink to blogpost_view, but they ended up into base_view and viewThreadsAtBottom. While doing it, found a few costly and unnecessary things in page templates and removed them.

Line 
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="lemill">
5
6
7<body>
8
9<div metal:fill-slot="main">
10<metal:main_macro define-macro="main"> 
11        <!-- header, H1 with title in it -->
12        <metal:header define-macro="header">
13        <h1 tal:content="object_title" class="documentFirstHeading">
14            PLACEHOLDER
15        </h1>
16        </metal:header>
17       
18        <!-- body macro where all the fields are -->
19        <metal:body define-macro="body">
20               
21    <p>
22    <metal:fieldMacro use-macro="python:here.widget('bodyText',mode='view')"/>
23    </p>
24
25
26        <metal:discussion use-macro="here/viewThreadsAtBottom/macros/discussionView" />
27        </metal:body>
28               
29</metal:main_macro>
30</div>
31
32</body>
33</html>
Note: See TracBrowser for help on using the repository browser.