From 390f5a789f93fe4c92d0a928dae9a38b08f64ff7 Mon Sep 17 00:00:00 2001 From: Akbar Rahman Date: Sat, 13 Apr 2024 20:14:03 +0100 Subject: [PATCH] fix double h1 on index with readme contents --- templates/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/index.html b/templates/index.html index adb65a5..7c64975 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,6 +1,8 @@ {% extends "base.html" %} {% block content %} + {% if not content %}

{{ title }}

+ {% endif %} {% if not content_after_search %} {{ content|safe }}