diff --git a/theme/templates/base.html b/theme/templates/base.html index 368609b9cc0f677ace32062c4f514173598f43e7..8a346355e90b1416b3231d6471c7890cf684ffc1 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -1,8 +1,8 @@ <!DOCTYPE html> {%- import 'macros/getters.html' as get with context -%} -{#{%- import 'macros/cards.html' as cards with context -%} -{%- import 'macros/renderers.html' as render with context -%}#} +{%- import 'macros/cards.html' as cards with context -%} +{%- import 'macros/renderers.html' as render with context -%} <html lang="{%- block html_lang -%}{{ l }}{%- endblock html_lang -%}"> <head> @@ -46,8 +46,8 @@ {%- endcall -%} {%- elif item.slug is defined -%} {%- call(page) get.page_by_slug(item.slug, l) -%} - {%- call(tagtitle, tagcolor, tagurl, tagpage, tagpages) get.tag_by_name(page.category, l) -%} - <li style="--category-color: {{ tagcolor }}"><a href="{{ siteurl }}/{{ page.url }}">{{ page.title|e }}</a></li> + {%- call(cattitle, catcolor, caturl, catpage, catpages) get.tag_by_name(page.category, l) -%} + <li style="--category-color: {{ catcolor }}"><a href="{{ siteurl }}/{{ page.url }}">{{ page.title|e }}</a></li> {%- endcall -%} {%- endcall -%} {%- else -%}