Make pages set description in head

This commit is contained in:
Jonas Tobias Hopusch 2021-07-13 23:39:59 +02:00
parent 0771b06036
commit 0d63ae0be9
Failed to generate hash of commit

View file

@ -1,4 +1,12 @@
{% extends "base.html" %} {% block content %}
{% extends "base.html" %}
{% block metadata %}
<meta name="description">{{ page.description }}</meta>
{% endblock %}
{% block content %}
<h3>{{ page.title }}</h3>
<article>
{% if page.date and page.date is defined %}