Make pages set description in head
This commit is contained in:
parent
0771b06036
commit
0d63ae0be9
1 changed files with 9 additions and 1 deletions
|
@ -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>
|
<h3>{{ page.title }}</h3>
|
||||||
<article>
|
<article>
|
||||||
{% if page.date and page.date is defined %}
|
{% if page.date and page.date is defined %}
|
||||||
|
|
Loading…
Reference in a new issue