source: products/SimpleBlog/branches/plone-2.5/skins/SimpleBlog/simpleblog_standalone.pt

Last change on this file was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 1.3 KB
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="SimpleBlog">
5
6    <metal:block fill-slot="top_slot"
7           tal:define="dummy python:request.set('disable_border',1)" />
8
9    <body>
10        <div metal:fill-slot="main"
11            tal:define="displayItems python:20;
12                results python:here.simpleblog_tool.collectEntries(here, maxResults=displayItems);
13                displayMode string:descriptionOnly;
14                b_size python:displayItems;
15                b_start python:0;
16                b_start request/b_start | b_start;
17                Batch python:modules['Products.CMFPlone'].Batch;               
18            ">
19            <h1>Recent Blog Entries</h1>
20            <div tal:condition="results" tal:define="batch python:Batch(results, b_size, int(b_start), orphan=1);">
21                <tal:block tal:repeat="entry batch">
22                    <tal:list tal:define="obj python:entry;">
23                        <div metal:use-macro="here/SimpleBlog_macros/macros/?displayMode"/>
24                    </tal:list>
25                </tal:block>
26                <div metal:use-macro="here/batch_macros/macros/navigation" />
27            </div>
28        </div>
29    </body>
30</html>
Note: See TracBrowser for help on using the repository browser.