summaryrefslogtreecommitdiff
path: root/themes/ccc/templates/post-list-front-updates.tmpl
diff options
context:
space:
mode:
authorCharlie Root <root@web.ccc.local>2020-05-26 22:45:15 +0000
committerCharlie Root <root@web.ccc.local>2020-05-26 22:45:15 +0000
commitdaf20dd652f9294273c1110f60ff4da6d99f67c5 (patch)
tree13bf0ee020cd847fa8c1a452c680948e3d99239d /themes/ccc/templates/post-list-front-updates.tmpl
parentba279352885269d921e71ff7f5314b5b21dc58b7 (diff)
Commit preview bundle
Diffstat (limited to 'themes/ccc/templates/post-list-front-updates.tmpl')
-rw-r--r--themes/ccc/templates/post-list-front-updates.tmpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/themes/ccc/templates/post-list-front-updates.tmpl b/themes/ccc/templates/post-list-front-updates.tmpl
new file mode 100644
index 00000000..0c529dac
--- /dev/null
+++ b/themes/ccc/templates/post-list-front-updates.tmpl
@@ -0,0 +1,25 @@
1## -*- coding: utf-8 -*-
2<%block name="content">
3<!-- Begin post-list ${post_list_id} -->
4
5% for post in posts:
6<div class="post-list-item row">
7 <div class="col-12 p-0">
8 <a class="stretched-link" href="${post.permalink()}">
9 %if post.meta('previewimage'):
10 <img class="col-12 col-md-4 mb-3 img-responsive float-left post-list-preview" alt="preview" src="${post.meta('previewimage')}" style="object-position: ${post.meta('previewimage-position') or '50% 50%'}"/>
11
12 %endif
13 <div class="post-list-headline col-12">
14 <div class="post-title">${post.title(lang)}</div>
15 <div class="post-date">${post.formatted_date(date_format)} – ${post.author()|h}</div>
16 </div>
17 </a>
18 <div class="post-body col-12" id="post-body-${loop.index}">
19 ${ post.text( teaser_only = True, show_read_more_link = False) }
20 </div>
21 </div>
22</div>
23% endfor
24<!-- End post-list ${post_list_id} -->
25</%block>