diff --git a/templates/macros.html b/templates/macros.html new file mode 100644 index 0000000..bbdcabc --- /dev/null +++ b/templates/macros.html @@ -0,0 +1,15 @@ +{% macro nav(type) %} + {% if config.extra.nav %} + + {% endif %} +{% endmacro nav %} diff --git a/templates/shortcodes/nav.html b/templates/shortcodes/nav.html new file mode 100644 index 0000000..8773e9b --- /dev/null +++ b/templates/shortcodes/nav.html @@ -0,0 +1,2 @@ +{% import "macros.html" as macros %} +{{ macros::nav(type=type) }}