forked from rDrama/rDrama
remove useless param "include_user_css"
parent
d633212b4c
commit
c9647eef32
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Login{% endblock %}
|
||||
{% block pagetype %}login{% endblock %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = false %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Login{% endblock %}
|
||||
{% block pagetype %}login{% endblock %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = false %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{% block authtitle %}Welcome back.{% endblock %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Login{% endblock %}
|
||||
{% block pagetype %}login{% endblock %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = false %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
{% block pagetype %}login{% endblock %}
|
||||
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = false %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Sign Up: Error{% endblock %}
|
||||
{% block pagetype %}login{% endblock %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = false %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{% block authtitle %}Whoops! You can't refer yourself!{% endblock %}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{% set root_scope = namespace() %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = true %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{%- import 'util/macros.html' as macros with context -%}
|
||||
|
@ -30,7 +29,7 @@
|
|||
{{html_head.seo()}}
|
||||
{{html_head.page_meta(self.pagetitle() or none)}}
|
||||
{{html_head.javascript()}}
|
||||
{{html_head.stylesheets(root_scope.include_user_css)}}
|
||||
{{html_head.stylesheets()}}
|
||||
{{html_head.cf_2fa_verify() if root_scope.include_2fa_verify}}
|
||||
{% block head_final %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{% block pagetitle %}Create a Post{% endblock %}
|
||||
{% block pagetype %}submit{% endblock %}
|
||||
{% block template_config %}
|
||||
{% set root_scope.include_user_css = true %}
|
||||
{% set root_scope.include_cf_2fa_verify = false %}
|
||||
{% endblock %}
|
||||
{% block banner %}{% endblock %}
|
||||
|
|
|
@ -97,13 +97,13 @@
|
|||
<meta name="twitter:url" content="{{url}}">
|
||||
{% endmacro %}
|
||||
|
||||
{% macro stylesheets(include_user_css) %}
|
||||
{% macro stylesheets() %}
|
||||
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
|
||||
{% if v %}
|
||||
{% if v.chud %}
|
||||
<link rel="stylesheet" href="{{('css/chud.css') | asset}}">
|
||||
{% endif %}
|
||||
{% if include_user_css and not IS_FISTMAS() %}
|
||||
{% if not IS_FISTMAS() %}
|
||||
{% if v.theme == 'classic_dark' %}
|
||||
<link rel="stylesheet" href="{{('css/themes/classic.css') | asset}}">
|
||||
{% endif %}
|
||||
|
@ -120,8 +120,6 @@
|
|||
{% if v.themecolor == '30409f' %}
|
||||
<link rel="stylesheet" href="{{('css/30409f.css') | asset}}">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{('css/themes/'~DEFAULT_THEME~'.css') | asset}}">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{('css/themes/'~DEFAULT_THEME~'.css') | asset}}">
|
||||
|
|
Loading…
Reference in New Issue