1
0
mirror of https://github.com/arsenetar/pelican-red.git synced 2024-12-03 14:39:01 +00:00
pelican-red/templates/_list_item.html

42 lines
1.7 KiB
HTML
Raw Normal View History

<li class="row">
<div class="article">
<div class="small-4 columns">
{% if article.image %}
<a class="th" href="{{ SITEURL }}/{{ article.url }}"><img src="{{ SITEURL }}/static/{{article.image}}" /></a>
{% else %}
<a class="th" href="{{ SITEURL }}/{{ article.url }}"><img src="{{ SITEURL }}/{{ FAVICON }}"/></a>
{% endif %}
</div>
<div class="small-12 columns">
<header>
<h3><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title|title }}</a></h3>
{% if not category %}
<div><span>Category: <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></span></div>
{% endif %}
{% if not tag and article.tags -%}
<div>
<span><a title="Tags" href="{{ SITEURL }}/tags.html"><i class="large icon-tag"></i>&nbsp;</a></span>
<ul class="tag-list">
{% for tag in article.tags %}
<li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
</header>
<div class="summary">
{{ article.summary }}
<span><a href="{{ SITEURL }}/{{ article.url }}" title="Continue Reading"><i class="icon-dot-3"></i></a></span>
</div>
<footer>
<ul class="no-bullet">
2013-11-09 21:30:58 +00:00
<li>Published by <a href="{{ SITEURL }}/{{ article.author.url }}" >{{ article.author }}</a> on: <abbr class="published" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</abbr></li>
{% if article.modified %}
<li>Last Modified on: <abbr title="{{ article.modified }}">{{ article.modified }}</abbr></li>
{% endif %}
</ul>
</footer>
</div>
</div>
</li>