zola/test_site/templates/page.html
Bob 4aa2ba84fc Let toc is visable through Page & Section variables in templates (#818)
* Let toc is visable through Page & Section variables in templates

* Removed the current toc variable from page & section
2020-02-02 17:44:38 -08:00

11 lines
315 B
HTML

{% extends "index.html" %}
{% block content %}
{{ page.content | safe }}
{{ page.relative_path | safe }}
{{ page.toc }}
{% if page.earlier %}Previous article: {{ page.earlier.permalink }}{% endif %}
{% if page.later %}Next article: {{ page.later.permalink }}{% endif %}
{% endblock content %}