forked from github/pelican
The pubdate given is in no way an abbreviation. Hence the semantics of <abbr> do not justify its usage in this context. <time> was introduced in HTML5. It's datetime attribute can override the textContent. Anyway it specifies a date+time of a given event. http://www.w3.org/TR/html5/text-level-semantics.html#the-time-element Originally the pubdate attribute was meant to annotate that the publication date of the closest section unit is specified, but this was dropped and is not part of the official specification. https://www.w3.org/wiki/HTML/Elements/time
28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
{% block content %}
|
|
<section id="content">
|
|
{% block content_title %}
|
|
<h2>All articles</h2>
|
|
{% endblock %}
|
|
|
|
<ol id="post-list">
|
|
{% for article in articles_page.object_list %}
|
|
<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">
|
|
<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>
|
|
{% endfor %}
|
|
</address>
|
|
</footer><!-- /.post-info -->
|
|
<div class="entry-content"> {{ article.summary }} </div><!-- /.entry-content -->
|
|
</article></li>
|
|
{% endfor %}
|
|
</ol><!-- /#posts-list -->
|
|
{% if articles_page.has_other_pages() %}
|
|
{% include 'pagination.html' %}
|
|
{% endif %}
|
|
</section><!-- /#content -->
|
|
{% endblock content %}
|