Fix crash on wtfpl page

This commit is contained in:
rubenwardy 2021-02-02 20:43:10 +00:00
parent aa7b8a0fc0
commit 878872799e
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
title: WTFPL is a terrible license
no_h1: true
toc: False
<div id="warning" class="alert alert-warning">
<span class="icon_message"></span>
@ -20,8 +20,6 @@ no_h1: true
</script>
</div>
# WTFPL is a terrible license
The use of WTFPL as a license is discouraged for multiple reasons.
* **No Warranty disclaimer:** This could open you up to being sued.<sup>[1]</sup>

View File

@ -11,7 +11,7 @@
<div class="container mt-4">
<main class="row">
<article class="col-md-9 content">
{% if not page["no_h1"] %}<h1>{{ page['title'] }}</h1>{% endif %}
<h1 class="mb-4">{{ page['title'] }}</h1>
{{ html | safe }}
</article>
@ -38,7 +38,7 @@
{% else %}
<div class="container mt-4">
<article class="content">
{% if not page["no_h1"] %}<h1>{{ page['title'] }}</h1>{% endif %}
<h1 class="mb-4">{{ page['title'] }}</h1>
{{ html | safe }}
</article>