forked from github/pelican
feat: add work in progress state
This commit is contained in:
parent
84db21c724
commit
de5b3aec04
14 changed files with 2537 additions and 37 deletions
3
pelican/themes/simple/templates/index.html
vendored
3
pelican/themes/simple/templates/index.html
vendored
|
|
@ -4,18 +4,19 @@
|
|||
<h2>All articles</h2>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% for article in articles_page.object_list %}
|
||||
<article>
|
||||
<header> <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> </header>
|
||||
<section>{{ article.summary }}</section>
|
||||
<footer>
|
||||
<p>Published: <time datetime="{{ article.date.isoformat() }}"> {{ article.locale_date }} </time></p>
|
||||
{% if article.authors %}
|
||||
<address>By
|
||||
{% for author in article.authors %}
|
||||
<a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
|
||||
{% endfor %}
|
||||
</address>
|
||||
{% endif %}
|
||||
</footer>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue