fix double h1 on index with readme contents

This commit is contained in:
Akbar Rahman 2024-04-13 20:14:03 +01:00
parent f23f99aeec
commit 390f5a789f
Signed by: alvierahman90
GPG Key ID: 6217899F07CA2BDF

View File

@ -1,6 +1,8 @@
{% extends "base.html" %}
{% block content %}
{% if not content %}
<h1>{{ title }}</h1>
{% endif %}
{% if not content_after_search %}
{{ content|safe }}