{% set div = false %}
<ul class="series-list">
{% for i, ser in series_items %}
{% if div %}<hr class="blog-hr" />{% endif %}
{% set div = true %}
{% if ser.type == 'blogpost' %}
<li class="series-blog">
<a class="blog-post-title" href="{{ cabin_url() }}blog/{{ ser.blogyear|e('url') }}/{{ ser.blogmonth|e('url') }}/{{ ser.slug|e('url') }}">{#
#}{{ ser.title }}</a> {#
#}({#
#}{{ ser.published|date("F j, Y") }} {#
#}{{ __("by") }} {#
#}<a href="{{ cabin_url() }}blog/author/{{ ser.authorslug|e('url') }}">{{ ser.authorname }}</a>{#
#})
</li>
{% else %}
<li class="series-series">
<a class="series-title" href="{{ cabin_url() }}blog/series/{{ ser.slug|e('url') }}">{#
#}<i class="fa fa-folder-o"></i>{{ ser.name }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
|