1
Fork 0

Link to tags overview and change read time wording

This commit is contained in:
Jan-Erik Rediger 2022-01-30 00:48:20 +01:00
parent 7d6f4caa19
commit bbd40557a3

View file

@ -18,16 +18,18 @@
{% when 1 %} {% when 1 %}
{% assign phrase = "about a minute." %} {% assign phrase = "about a minute." %}
{% else %} {% else %}
{% assign phrase = " minutes." | prepend: reading_time %} {% assign phrase = " minute read" | prepend: reading_time %}
{% endcase %} {% endcase %}
<time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} - Reading time: {{ phrase }}</time> <div class="metadata">
<time pubdate="pubdate">{{ page.published_date | date: "%b %d, %Y" }} · {{ phrase }}</time>
{% if page.data and page.data.tags -%} {% if page.data and page.data.tags -%}
{%- assign tags = page.data.tags | join: ", " -%} {%- for tag in page.data.tags %}
Tags: {{tags}} · <a href="/tagged/{{ tag }}.html">{{ tag }}</a>
{%- endfor %}
{%- endif -%} {%- endif -%}
<br /> </div>
{{ page.content }} {{ page.content }}
</article> </article>