From 86206feb8ef4db6b1580d55b2cd99e47527e1b6a Mon Sep 17 00:00:00 2001 From: southerntofu Date: Wed, 22 Apr 2020 22:34:55 +0200 Subject: [PATCH] Parameter name is more consistent with other macros --- templates/index.html | 2 +- templates/widgets.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index ff18150..30b65b0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,7 +26,7 @@ {% endif %} {% if translations %}{{ widgets::translations(translations=translations) }}{% endif %} {% if config.extra.menu and config.extra.menu != "disabled" %} - {{ widgets::menu(content="_common/menu.md") }} + {{ widgets::menu(path="_common/menu.md") }} {% elif config.extra.menu != "disabled" %}

Point config.extra.menu to a Markdown page and you will have a navigation menu

{% endif %} diff --git a/templates/widgets.html b/templates/widgets.html index fccd74e..11fd6d1 100644 --- a/templates/widgets.html +++ b/templates/widgets.html @@ -21,9 +21,9 @@ a submenu. A submenu is an actual list You cannot use

tags in the menu. ######################################} -{% macro menu(content) %} +{% macro menu(path) %}