add serie attr to posts
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
<h2>{{ page.title }}</h2>
|
||||
<div class="meta">
|
||||
<p>{{ page.date|date("d.m.Y H:i") }}{% if config.plugins.readingtime.enabled %} | {{ page.content|readingtime }}{% endif %}{% if config.plugins.wordcount.enabled and grav.user.title == theme_config.owner_title %} | {{ getWordCount(content) }} {{ theme_config.wordcount_title }}{% endif %}</p>
|
||||
<p>Tagi: {% for tag in page.taxonomy.tag %}<a href="{{ theme_config.blog.slug }}/tag:{{tag}}">{{ tag }}</a> {% endfor %}</p>
|
||||
<p>{{ theme_config.blog.tags_title|raw }}: {% for tag in page.taxonomy.tag %}<a href="{{ theme_config.blog.slug }}/tag:{{tag}}">{{ tag }}</a> {% endfor %}</p>
|
||||
{% if page.taxonomy.series %}
|
||||
<p>{{ theme_config.blog.series_title|raw }}: {% for series in page.taxonomy.series %}<a href="{{ theme_config.blog.slug }}/series:{{series}}">{{ series }}</a> {% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ page.content | raw }}
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user