forked from rDrama/rDrama
1
0
Fork 0

apparently u cant put blocks inside if statements

master
Aevann1 2022-08-06 01:16:44 +02:00
parent c1d99ecef3
commit 55332b52b5
1 changed files with 7 additions and 4 deletions

View File

@ -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 %}