Add fontawesome icons to article meta
parent
304d9530d3
commit
151c18da13
|
@ -17,25 +17,33 @@
|
||||||
<article class="article">
|
<article class="article">
|
||||||
<header>
|
<header>
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li class="text-muted" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</li>
|
<li class="text-muted" title="{{ article.date.isoformat() }}">
|
||||||
<li>·</li>
|
<i class="fa fa-fw fa-clock-o"></i>
|
||||||
<li><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></li>
|
{{ article.locale_date }}
|
||||||
{% if article.authors and ARTICLE_AUTHORS %}
|
</li>
|
||||||
<li>·</li>
|
<li>·</li>
|
||||||
<li>By
|
<li>
|
||||||
{% for author in article.authors %}
|
<i class="fa fa-fw fa-folder-open"></i>
|
||||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
|
||||||
{% endfor %}
|
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
|
||||||
{% if article.tags %}
|
{% if article.tags %}
|
||||||
<li>·</li>
|
<li>·</li>
|
||||||
<li>
|
<li>
|
||||||
|
<i class="fa fa-fw fa-tags"></i>
|
||||||
{% for tag in article.tags %}
|
{% for tag in article.tags %}
|
||||||
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
<a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a>{% if not loop.last %}, {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if article.authors and ARTICLE_AUTHORS %}
|
||||||
|
<li>·</li>
|
||||||
|
<li>
|
||||||
|
<i class="fa fa-fw fa-users"></i>
|
||||||
|
{% for author in article.authors %}
|
||||||
|
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
|
|
|
@ -20,7 +20,7 @@ All Articles
|
||||||
<div class="text-muted" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</div>
|
<div class="text-muted" title="{{ article.date.isoformat() }}">{{ article.locale_date }}</div>
|
||||||
<div><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></div>
|
<div><a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a></div>
|
||||||
{% if article.authors and ARTICLE_AUTHORS %}
|
{% if article.authors and ARTICLE_AUTHORS %}
|
||||||
<div>By
|
<div>
|
||||||
{% for author in article.authors %}
|
{% for author in article.authors %}
|
||||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>{% if not loop.last %}, {% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue