Skip to content
Snippets Groups Projects
Verified Commit 84966eb5 authored by Jake's avatar Jake
Browse files

updated base.html

parent 25661c66
No related branches found
No related tags found
No related merge requests found
<!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 -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment