forked from rDrama/rDrama
html head: fix default theme
parent
c4103cfaf4
commit
cc3fb59ccd
|
@ -92,7 +92,6 @@
|
|||
{% endif %}
|
||||
{% if include_user_css %}
|
||||
<link rel="stylesheet" href="{{('css/'~v.theme~'.css') | asset}}">
|
||||
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
||||
{% if v.css and not request.path.startswith('/settings/css') %}
|
||||
<style>
|
||||
{{v.css | safe}}
|
||||
|
@ -105,12 +104,13 @@
|
|||
}
|
||||
</style>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{default_theme()}}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<style>:root{--primary:#{{DEFAULT_COLOR}}</style>
|
||||
<link rel="stylesheet" href="{{('css/'~DEFAULT_THEME~'.css') | asset}}">
|
||||
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
||||
{{default_theme()}}
|
||||
{% endif %}
|
||||
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
||||
|
||||
{% if request.path.endswith('/catalog') %}
|
||||
<link rel="stylesheet" href="{{'css/catalog.css' | asset}}">
|
||||
|
@ -126,6 +126,11 @@
|
|||
{{extra_css}}
|
||||
{% endmacro %}
|
||||
|
||||
{% macro default_theme() %}
|
||||
<style>:root{--primary:#{{DEFAULT_COLOR}}</style>
|
||||
<link rel="stylesheet" href="{{('css/'~DEFAULT_THEME~'.css') | asset}}">
|
||||
{% endmacro %}
|
||||
|
||||
{% macro seo() %}
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-touch-fullscreen" content="yes">
|
||||
|
|
Loading…
Reference in New Issue