From 0d63ae0be9926b494846e7496f0ae0b78ef02628 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Tue, 13 Jul 2021 23:39:59 +0200 Subject: [PATCH] Make pages set description in head --- templates/page.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/page.html b/templates/page.html index a61f999..a3efd99 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,4 +1,12 @@ -{% extends "base.html" %} {% block content %} +{% extends "base.html" %} + +{% block metadata %} + +{{ page.description }} + +{% endblock %} + +{% block content %}

{{ page.title }}

{% if page.date and page.date is defined %}