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

updated base.html

parent 25661c66
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html> <!DOCTYPE html>
{%- import 'macros/getters.html' as get with context -%} {%- import 'macros/getters.html' as get with context -%}
{#{%- import 'macros/cards.html' as cards with context -%} {%- import 'macros/cards.html' as cards with context -%}
{%- import 'macros/renderers.html' as render with context -%}#} {%- import 'macros/renderers.html' as render with context -%}
<html lang="{%- block html_lang -%}{{ l }}{%- endblock html_lang -%}"> <html lang="{%- block html_lang -%}{{ l }}{%- endblock html_lang -%}">
<head> <head>
...@@ -46,8 +46,8 @@ ...@@ -46,8 +46,8 @@
{%- endcall -%} {%- endcall -%}
{%- elif item.slug is defined -%} {%- elif item.slug is defined -%}
{%- call(page) get.page_by_slug(item.slug, l) -%} {%- call(page) get.page_by_slug(item.slug, l) -%}
{%- call(tagtitle, tagcolor, tagurl, tagpage, tagpages) get.tag_by_name(page.category, l) -%} {%- call(cattitle, catcolor, caturl, catpage, catpages) get.tag_by_name(page.category, l) -%}
<li style="--category-color: {{ tagcolor }}"><a href="{{ siteurl }}/{{ page.url }}">{{ page.title|e }}</a></li> <li style="--category-color: {{ catcolor }}"><a href="{{ siteurl }}/{{ page.url }}">{{ page.title|e }}</a></li>
{%- endcall -%} {%- endcall -%}
{%- endcall -%} {%- endcall -%}
{%- else -%} {%- else -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment