From 016e9b66a41206d8d2a04d77f4156245401722cb Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sat, 29 Oct 2022 22:11:05 -0500 Subject: [PATCH] add neko debootstrap flag to html_head.html this is awful but i made this a macro for some reason i have no idea why --- files/templates/html_head.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/files/templates/html_head.html b/files/templates/html_head.html index 531505b82c..e4f94a1133 100644 --- a/files/templates/html_head.html +++ b/files/templates/html_head.html @@ -1,4 +1,4 @@ -{% macro html_head(js, include_seo, include_user_css, csp, title2, author, extra_css, include_2fa_verify, include_seo2) %} +{% macro html_head(js, include_seo, include_user_css, csp, title2, author, extra_css, include_2fa_verify, include_seo2, include_neko_debootstrap) %} {# submission.py does a lot of stupid stuff with the title and we don't want to override that #} {# remember, this is very temporary #} @@ -6,7 +6,7 @@ {{javascript()}} {% endif %} {{meta_tags_1(csp, author)}} - {{stylesheets(include_user_css, extra_css)}} + {{stylesheets(include_user_css, extra_css, include_neko_debootstrap)}} {% if title2 %} {{title2 | default(SITE_NAME, true)}} - {{SITE_NAME}} {{meta_tags_2(title2, author)}} @@ -78,8 +78,11 @@ {% endmacro %} -{% macro stylesheets(include_user_css, extra_css) %} +{% macro stylesheets(include_user_css, extra_css, include_neko_debootstrap) %} + {% if include_neko_debootstrap %} + + {% endif %} {% if v %} @@ -272,4 +275,4 @@ sizes="2737x2048" href="{{'icon.webp' | asset_siteimg}}" > -{% endmacro %} \ No newline at end of file +{% endmacro %}