| 1 |
{% extends "layout.html" %} |
| 2 |
|
| 3 |
{% block body %} |
| 4 |
{% if meta is defined and meta and (meta.get("date") or meta.get("author")) %} |
| 5 |
{% set page_date = meta.get("date") %} |
| 6 |
{% set page_author = meta.get("author") %} |
| 7 |
{% set byline %} |
| 8 |
<p class="page-docinfo-meta"> |
| 9 |
{% if page_date %}{{ page_date }}{% endif %} |
| 10 |
{% if page_author %}{% if page_date %} ยท {% endif %}{{ page_author }}{% endif %} |
| 11 |
</p> |
| 12 |
{% endset %} |
| 13 |
{{ body | replace("</h1>", "</h1>" ~ byline, 1) }} |
| 14 |
{% else %} |
| 15 |
{{ body }} |
| 16 |
{% endif %} |
| 17 |
{% endblock %} |