[hotfix] show head html as blank if None
This commit is contained in:
parent
4c97d0c01b
commit
b14fc160fd
1 changed files with 5 additions and 5 deletions
|
|
@ -20,13 +20,13 @@
|
|||
type="image/x-icon">
|
||||
{% endblock %}
|
||||
{%- block head -%}
|
||||
{% if meta_block is defined %}
|
||||
{% if meta_block is defined -%}
|
||||
{{ meta_block }}
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
|
||||
{% if head_html is defined %}
|
||||
{{ head_html }}
|
||||
{% endif %}
|
||||
{% if head_html is defined -%}
|
||||
{{ head_html or "" }}
|
||||
{%- endif %}
|
||||
|
||||
{%- for link in web_include_css %}
|
||||
<link type="text/css" rel="stylesheet" href="{{ link|abs_url }}">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue