diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 722303d..8be2d65 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -5,17 +5,17 @@ layout: layouts/base.njk {%- css %}{% include "public/css/code.css" %}{% endcss %}

{{ title }}

- +{% if not hideMetadata %}
{% if author %}

{% if author.url %}{% endif %} - {% if author.name %}{{ author.name }}, {% endif %}{% if author.url %}{% endif %}

+ {% if author.name %}{{ author.name }}, {% endif %}{% if author.url %}{% endif %}

{% else %}

{% if metadata.author.url %}{% endif %} - {% if metadata.author.name %}{{ metadata.author.name }}, {% endif %}{% if metadata.author.url %}{% endif %}

+ {% if metadata.author.name %}{{ metadata.author.name }}, {% endif %}{% if metadata.author.url %}{% endif %}

{% endif %} @@ -33,7 +33,7 @@ layout: layouts/base.njk {%- endfor %}
- +{% endif %} {{ content | safe }}
{% include "mastodonComments.njk" %} diff --git a/content/about-feeds/index.md b/content/about-feeds/index.md index a984755..b895074 100644 --- a/content/about-feeds/index.md +++ b/content/about-feeds/index.md @@ -1,5 +1,6 @@ --- -layout: layouts/base.njk +layout: layouts/post.njk +hideMetadata: yep --- # How to use feeds.