29 lines
1.5 KiB
Cheetah
29 lines
1.5 KiB
Cheetah
## -*- coding: utf-8 -*-
|
|
<%block name="content">
|
|
<!-- Begin post-list ${post_list_id} -->
|
|
<div id="${post_list_id}" class="post-list">
|
|
%if posts:
|
|
<ul class="post-list list-unstyled">
|
|
% for post in posts:
|
|
<li class="post-list-item">
|
|
<h1><a href="${post.permalink(lang)}">${post.title(lang)|h}</a></h1><p class="dateline">
|
|
<div class="metadata">
|
|
<p class="dateline"><time class="published dt-published" datetime="${post.formatted_date('webiso')}" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time></p>
|
|
<p><a href="mailto:?subject=I saw this and thought of you!&body=${post.title()} ${post.meta('link')}" onclick="ga('send', 'social', 'email', 'share', ${post.meta('link')}); return true;"><i class="fa fa-envelope fa-lg" aria-hidden="true"></i></a></p>
|
|
<p><a href="https://twitter.com/share?url=${post.permalink()});text=${post.title()} ${post.meta('link')}" onclick="ga('send', 'social', 'Twitter', 'tweet', ${post.permalink()}); return true;" target="_blank"><i class="fa fa-twitter fa-lg" aria-hidden="true"></i></a></p>
|
|
</div>
|
|
%if index_teasers:
|
|
<div class="p-summary entry-summary">
|
|
${post.text(teaser_only=True)}
|
|
%else:
|
|
<div class="e-content entry-content">
|
|
${post.text(teaser_only=False)}
|
|
%endif
|
|
</li>
|
|
% endfor
|
|
</ul>
|
|
%endif
|
|
</div>
|
|
<!-- End post-list ${post_list_id} -->
|
|
</%block>
|