From eade3b10759e73c99facb55e7f258f6d98f41b5a Mon Sep 17 00:00:00 2001 From: William Ouwehand Date: Fri, 16 Jun 2023 19:31:22 +0200 Subject: add disable setting in config --- templates/macros/macros.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/macros/macros.html') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index ee5f896..bc38935 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -118,11 +118,12 @@ -{%- macro footer(page) %} +{%- macro footer(page, config) %} {%- if page.reading_time and page.reading_time > 2 %}
{%- endif %} {%- endmacro footer %} -- cgit v1.3.1