1
Fork 0

Show tags

This commit is contained in:
Jan-Erik Rediger 2019-04-23 23:23:47 +02:00
parent be6bc49fdb
commit 4df90a942a

View file

@ -6,7 +6,6 @@
<body> <body>
{% include "_menu.liquid" %} {% include "_menu.liquid" %}
<main> <main>
<article> <article>
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
@ -22,7 +21,13 @@
{% assign phrase = " minutes." | prepend: reading_time %} {% assign phrase = " minutes." | prepend: reading_time %}
{% endcase %} {% endcase %}
<time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} - Reading time: {{ phrase }}</time><br /> <time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} - Reading time: {{ phrase }}</time>
{% if page.data and page.data.tags -%}
{%- assign tags = page.data.tags | join: ", " -%}
Tags: {{tags}}
{%- endif -%}
<br />
{{ page.content }} {{ page.content }}
</article> </article>