Merge pull request #1858 from meisterluk/abbr-to-time-element

Use <time> instead of <abbr>
This commit is contained in:
Justin Mayer 2015-11-07 21:39:45 -08:00
commit 365d12cbea
2 changed files with 5 additions and 5 deletions

View file

@ -21,13 +21,13 @@
{{ translations.translations_for(article) }}
</header>
<footer class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}">
<time class="published" datetime="{{ article.date.isoformat() }}">
{{ article.locale_date }}
</abbr>
</time>
{% if article.modified %}
<abbr class="modified" title="{{ article.modified.isoformat() }}">
<time class="modified" datetime="{{ article.modified.isoformat() }}">
{{ article.locale_modified }}
</abbr>
</time>
{% endif %}
{% if article.authors %}
<address class="vcard author">

View file

@ -10,7 +10,7 @@
<li><article class="hentry">
<header> <h2 class="entry-title"><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
<footer class="post-info">
<abbr class="published" title="{{ article.date.isoformat() }}"> {{ article.locale_date }} </abbr>
<time class="published" datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time>
<address class="vcard author">By
{% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>