Commit fc25583836
Verified · cmc
Layout: unified · split
templates/page.html +2 −1
| @@ -4,7 +4,8 @@ | ||
| 4 | 4 | {% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} |
| 5 | 5 | |
| 6 | 6 | {% block content %} |
| 7 | <p class="back"><a href="{{ section.permalink | default(value=get_url(path="/")) | safe }}">← back</a></p> | |
| 7 | {% set parent = get_section(path=page.ancestors | last, metadata_only=true) %} | |
| 8 | <p class="back"><a href="{{ parent.permalink | safe }}">← back</a></p> | |
| 8 | 9 | <article class="prose"> |
| 9 | 10 | <h1 class="page-label">{{ page.title }}</h1> |
| 10 | 11 | {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %} |