diff options
Diffstat (limited to 'extra_plugins/command_planetoid/index.tmpl')
| -rw-r--r-- | extra_plugins/command_planetoid/index.tmpl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra_plugins/command_planetoid/index.tmpl b/extra_plugins/command_planetoid/index.tmpl new file mode 100644 index 0000000..da9ff5d --- /dev/null +++ b/extra_plugins/command_planetoid/index.tmpl @@ -0,0 +1,26 @@ +## -*- coding: utf-8 -*- +<%inherit file="base.tmpl"/> +<%block name="content"> + % for post in posts: + <div style="border: 2px solid darkgrey; margin-bottom: 12px; border-radius: 4px; padding:12px; overflow: auto;"> + <a href="${post.link}"><h1>${post.title(lang)}</a> + <small> + Publicado: ${post.date} + </small></h1> + ${post.text(lang)} + </div> + % endfor + <div> +<ul class="pager"> + %if prevlink: + <li class="previous"> + <a href="${prevlink}">← Posts posteriores</a> + </li> + %endif + %if nextlink: + <li class="next"> + <a href="${nextlink}">Posts anteriores →</a> + </li> + %endif +</ul> +</%block> |
