From 70bbfdac293cb6c1bc4a1edb7d1d559bfbd547aa Mon Sep 17 00:00:00 2001 From: southerntofu Date: Fri, 17 Apr 2020 20:26:04 -0400 Subject: [PATCH] Update for newer zola versions --- templates/page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index c219947..9a8fe02 100644 --- a/templates/page.html +++ b/templates/page.html @@ -26,13 +26,13 @@ Updates: {#{{ page.extra.updates | map(u => '#{u}') | join(', ') }} }}#}
{% endif %} -{% if page.extra.updated-by %} +{% if page.extra.updated %} Updated by: {#{{ page.extra.updated-by | map(u => '#{u}') | join(', ') }} }}#}
{% endif %} -{{ rfctoc::new(headings=toc) }} +{{ rfctoc::new(headings=page.toc) }} {{ page.content | safe }}