diff --git a/templates/page.html b/templates/page.html index 4e8d97e..9cdadf8 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% import "macros.html" as macros %} + {% block title %} {{ page.title }} - {{ config.title }} {% endblock %} @@ -14,7 +16,7 @@ {% endblock %} {% block nav %} - ../{{ page.slug }} + ../{{ page.slug }} {% endblock %} @@ -41,6 +43,10 @@ {% endif %} + {% if config.extra.xscratch_debug_info %} + Debug info: + {{ macros::debug(thing=page, label="page", recurse=2) }} + {% endif %} {% endblock %} {% block footer %}