Skip to content
Snippets Groups Projects
Verified Commit 82ad462d authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Implement nodate=true metadata

Fixes generator#6
parent bccbeb6a
No related branches found
No related tags found
No related merge requests found
......@@ -3,15 +3,17 @@
<div class="section">
<h2 id="title">{{ metadata.title }}</h2>
<div class="author" style="color: #a2a2a2">
{% if metadata.date %}
<span style="color: #626262">{{ metadata.date.creation | date("D. M. YYYY") }}</span>
napsal
<span style="color: #626262">{{ metadata.author.name }}</span>
{% if metadata.date.modified %}
naposledy upraveno <span style="color: #626262">{{ metadata.date.modification | date("D. M. YYYY") }}</span>
{% if not metadata.nodate %}
{% if metadata.date %}
<span style="color: #626262">{{ metadata.date.creation | date("D. M. YYYY") }}</span>
napsal
<span style="color: #626262">{{ metadata.author.name }}</span>
{% if metadata.date.modified %}
naposledy upraveno <span style="color: #626262">{{ metadata.date.modification | date("D. M. YYYY") }}</span>
{% endif %}
{% else %}
Článek není v gitu
{% endif %}
{% else %}
Článek není v gitu
{% endif %}
</div>
<div>
......
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