Skip to content
Snippets Groups Projects
Verified Commit 270a88db authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Display author in aggregated news

parent c27535d4
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -10,14 +10,11 @@
{% if article.source_link %}
{# This is a webring article #}
<h2><a href="{{ article.link }}">{{ article.title }}</a></h2>
<p>{{ article.date|strftime('%Y-%m-%d') }} · <a href="{{ article.source_link }}">{{ article.source_title }}</a></p>
<p>{{ article.date|strftime('%Y-%m-%d') }} · <a href="{{ article.author_detail.href }}">{{ article.author_detail.name }}</a> · <a href="{{ article.source_link }}">{{ article.source_title }}</a></p>
{{ article.summary }}
{% else %}
{# This is a local article #}
<h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
<p>{{ article.date|strftime('%Y-%m-%d') }} · <a href="{{ article.author.url }}">{{ article.author }}</a></p>
{{ article.summary }}
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment