summaryrefslogtreecommitdiffstatshomepage
path: root/www/themes
diff options
context:
space:
mode:
Diffstat (limited to 'www/themes')
-rw-r--r--www/themes/htmx-theme/templates/essay.html4
-rw-r--r--www/themes/htmx-theme/templates/page.html8
2 files changed, 10 insertions, 2 deletions
diff --git a/www/themes/htmx-theme/templates/essay.html b/www/themes/htmx-theme/templates/essay.html
index ec8ec710..bc4dc6af 100644
--- a/www/themes/htmx-theme/templates/essay.html
+++ b/www/themes/htmx-theme/templates/essay.html
@@ -30,8 +30,8 @@
{% set page_title = page.title -%}
{% if show_title %}<h1>{{ page_title | safe }}</h1>{% endif %}
- {% if show_author and page.taxonomies.author %}
- <address>{{ page.taxonomies.author | join(sep=", ") }}</address>
+ {% if show_author and page.authors | length > 0 %}
+ <address>{{ page.authors | join(sep=", ") }}</address>
<time>{{ page.date | date(format="%B %d, %Y") }}</time>
{% endif %}
diff --git a/www/themes/htmx-theme/templates/page.html b/www/themes/htmx-theme/templates/page.html
index 256374fa..9d958933 100644
--- a/www/themes/htmx-theme/templates/page.html
+++ b/www/themes/htmx-theme/templates/page.html
@@ -12,6 +12,14 @@
{% endif -%}
{% endblock title %}
+{% block description %}
+ {%- if page.description -%}
+ {{- page.description | safe -}}
+ {%- else -%}
+ {{- super() -}}
+ {%- endif -%}
+{% endblock description %}
+
{% block content %}
{% if page.extra and page.extra.show_title is defined -%}
{% set show_title = page.extra.show_title -%}