1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-27 04:10:03 +01:00
blog/_src/_includes/entry_meta.html

33 lines
952 B
HTML

<footer class="entry-meta">
<p class="byline author vcard source-org">
<span class="by">by</span> <a class="fn" rel="author" href="/about/">
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author.name }}
{% endif %}
</a>
</p>
<p class="time">
<time is="time-ago" class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | date_to_string }}</time>
{% if page.updated %}
<br>updated <time is="time-ago" class="updated" datetime="{{ page.updated | date_to_xmlschema }}">{{ page.updated | date_to_string }}</time>
{% endif %}
</p>
<p class="categories">
{% for category in page.categories %}
<a class="category" href="/{{ category }}">{{ category }}</a>
{% endfor %}
</p>
<p class="tags">
{% for tag in page.tags %}
<a class="tag" href="/tag/{{ tag }}">{{ tag }}</a>
{% endfor %}
</p>
</footer>