{% set div = false %}
{% for i, latest in blogroll %}
{% if div %}<hr class="blog-hr" />{% endif %}
{% set div = true %}
<div class="blog-post blog-list-post">
<a href="{{ cabin_url() }}blog/{{ latest.blogyear|e('url') }}/{{ latest.blogmonth|e('url') }}/{{ latest.slug|e('url') }}">{#
#}<h2 class="blog-post-title">{{ latest.title }}</h2></a>
<p class="blog-post-meta">
{{ latest.published|date("F j, Y") }}
{{ __("by") }}
<a href="{{ cabin_url() }}blog/author/{{ latest.authorslug|e('url') }}">{{ latest.authorname }}</a>
</p>
<div class="blog-post-snippet">{% if latest.format == 'RST' %}{#
#}{{ latest.snippet|default("")|CleanRST }}{#
#}{% elseif latest.format == 'Markdown' %}{#
#}{{ latest.snippet|default("")|CleanMarkdown }}{#
#}{% else %}{#
#}{{ latest.snippet|purify|raw }}{#
#}{% endif %}
{% if latest.snippet != latest.body %}
<p class="readmore-wrapper">
<a
class="readmore"
href="{{ cabin_url() }}blog/{{ latest.blogyear|e('url') }}/{{ latest.blogmonth|e('url') }}/{{ latest.slug|e('url') }}#after-fold"
>
{{ __("Continue Reading this Blog Post") }} »
</a>
</p>
{% endif %}</div>
</div><!-- /.blog-post -->
{% endfor %}
|