forked from rDrama/rDrama
apparently u cant put blocks inside if statements
parent
c1d99ecef3
commit
55332b52b5
|
@ -1,7 +1,8 @@
|
||||||
{% extends "default.html" %}
|
{% extends "default.html" %}
|
||||||
|
|
||||||
{% if '/h/' in request.path and sub %}
|
{% block title %}
|
||||||
{% block title %}
|
{% if sub %}
|
||||||
|
|
||||||
{% if sub.bannerurl %}
|
{% if sub.bannerurl %}
|
||||||
{% set preview = sub.bannerurl %}
|
{% set preview = sub.bannerurl %}
|
||||||
{% elif sub.sidebarurl %}
|
{% elif sub.sidebarurl %}
|
||||||
|
@ -30,8 +31,10 @@
|
||||||
<meta property="og:description" name="description" content="{{sub.sidebar}}">
|
<meta property="og:description" name="description" content="{{sub.sidebar}}">
|
||||||
<meta name="twitter:description" content="{{sub.sidebar}}">
|
<meta name="twitter:description" content="{{sub.sidebar}}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% else %}
|
||||||
{% endif %}
|
{{super()}}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block desktopBanner %}
|
{% block desktopBanner %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue