From 84966eb56575954a8a529fc296e68f5aba7de872 Mon Sep 17 00:00:00 2001 From: Jake <j.vondoemming@stud.uni-goettingen.de> Date: Tue, 2 Aug 2022 11:45:12 +0200 Subject: [PATCH] updated base.html --- theme/templates/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme/templates/base.html b/theme/templates/base.html index 368609b..8a34635 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 -%} -- GitLab