forked from blek/world
1
0
Fork 0

print description inside a blog post

This commit is contained in:
b1ek 2024-02-24 18:23:29 +10:00
parent bd1311123e
commit a4c4324538
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,10 @@
{% block content %}
<h2>{{ page.title }}</h2>
<h2 style='margin-bottom:0'>{{ page.title }}</h2>
{% if page.description %}
<h4 style='margin-top:0;font-size:80%'>{{ page.description }}</h4>
{% endif %}
<noscript>
Your browser doesn't support JS. This is so cool!
</noscript>
@ -12,4 +15,4 @@
{{ page.content | safe }}
</div>
{% endblock content %}
{% endblock content %}