diff --git a/templates/index.html b/templates/index.html index fd07b4c..7970ea2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,7 @@ {% import "macros/date.html" as date_macros -%} {% import "macros/head.html" as head_macros -%} {% import "macros/menu.html" as menu_macros -%} +{% import "macros/language_menu.html" as language_menu_macros -%} {% import "macros/post.html" as post_macros -%} {% import "macros/title.html" as title_macros -%} @@ -57,6 +58,9 @@ + {%- if page %} + {{ language_menu_macros::menu(page=page) }} + {% endif -%} {% block header_menu %} diff --git a/templates/macros/language_menu.html b/templates/macros/language_menu.html new file mode 100644 index 0000000..a2aed82 --- /dev/null +++ b/templates/macros/language_menu.html @@ -0,0 +1,12 @@ +{% macro menu(page) %} + +{% endmacro menu %}