From 54c93d8dd7cee037c772dc93ac1fb13ff0b196a9 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sun, 11 Jun 2023 18:51:57 +0000 Subject: [PATCH] Fix bib.html indentation Signed-off-by: HackerNCoder --- templates/bib.html | 29 ++++++++++++++++------------- templates/layout.html | 2 +- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/templates/bib.html b/templates/bib.html index 315b3a0..51b4b06 100644 --- a/templates/bib.html +++ b/templates/bib.html @@ -1,17 +1,20 @@ {% extends "layout.html" %} {% block title %}{{ this.title }}{% endblock %} {% block body %} -{% if this.body %}

{{ this.title }}

-{{ this.body }} -{% else %}

{{ this.title }}

{% endif %} - +{% if this.body %} +

{{ this.title }}

+ {{ this.body }} +{% else %} +

{{ this.title }}

+{% endif %} + {% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 19a0e05..4b564bf 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,7 +8,7 @@ {% include 'nav.html' %}
- {% block body %}{% endblock %} +{% block body %}{% endblock %}