apparently u cant put blocks inside if statements

remotes/1693045480750635534/spooky-22
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" %}
{% if '/h/' in request.path and sub %}
{% block title %}
{% block title %}
{% if sub %}
{% if sub.bannerurl %}
{% set preview = sub.bannerurl %}
{% elif sub.sidebarurl %}
@ -30,8 +31,10 @@
<meta property="og:description" name="description" content="{{sub.sidebar}}">
<meta name="twitter:description" content="{{sub.sidebar}}">
{% endif %}
{% endblock %}
{% endif %}
{% else %}
{{super()}}
{% endif %}
{% endblock %}
{% block desktopBanner %}