Show tags
This commit is contained in:
parent
be6bc49fdb
commit
4df90a942a
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue