forked from MarseyWorld/MarseyWorld
add neko debootstrap flag to html_head.html
this is awful but i made this a macro for some reason i have no idea whymaster
parent
74d3c325d4
commit
016e9b66a4
|
@ -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 #}
|
{# submission.py does a lot of stupid stuff with the title and we don't want to override that #}
|
||||||
{# remember, this is very temporary #}
|
{# remember, this is very temporary #}
|
||||||
<head>
|
<head>
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
{{javascript()}}
|
{{javascript()}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{meta_tags_1(csp, author)}}
|
{{meta_tags_1(csp, author)}}
|
||||||
{{stylesheets(include_user_css, extra_css)}}
|
{{stylesheets(include_user_css, extra_css, include_neko_debootstrap)}}
|
||||||
{% if title2 %}
|
{% if title2 %}
|
||||||
<title>{{title2 | default(SITE_NAME, true)}} - {{SITE_NAME}}</title>
|
<title>{{title2 | default(SITE_NAME, true)}} - {{SITE_NAME}}</title>
|
||||||
{{meta_tags_2(title2, author)}}
|
{{meta_tags_2(title2, author)}}
|
||||||
|
@ -78,8 +78,11 @@
|
||||||
<meta name="twitter:url" content="{{request.full_path}}">
|
<meta name="twitter:url" content="{{request.full_path}}">
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro stylesheets(include_user_css, extra_css) %}
|
{% macro stylesheets(include_user_css, extra_css, include_neko_debootstrap) %}
|
||||||
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
|
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
|
||||||
|
{% if include_neko_debootstrap %}
|
||||||
|
<link rel="stylesheet" href="{{'css/main-dev.css' | asset}}">
|
||||||
|
{% endif %}
|
||||||
<link id="favicon" rel="icon" type="image/webp" href="{{'icon.webp' | asset_siteimg}}">
|
<link id="favicon" rel="icon" type="image/webp" href="{{'icon.webp' | asset_siteimg}}">
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<style>:root{--primary:#{{v.themecolor}}}</style>
|
<style>:root{--primary:#{{v.themecolor}}}</style>
|
||||||
|
|
Loading…
Reference in New Issue