mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-03 19:57:29 +01:00
Fix crash on wtfpl page
This commit is contained in:
parent
aa7b8a0fc0
commit
878872799e
@ -1,5 +1,5 @@
|
|||||||
title: WTFPL is a terrible license
|
title: WTFPL is a terrible license
|
||||||
no_h1: true
|
toc: False
|
||||||
|
|
||||||
<div id="warning" class="alert alert-warning">
|
<div id="warning" class="alert alert-warning">
|
||||||
<span class="icon_message"></span>
|
<span class="icon_message"></span>
|
||||||
@ -20,8 +20,6 @@ no_h1: true
|
|||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
# WTFPL is a terrible license
|
|
||||||
|
|
||||||
The use of WTFPL as a license is discouraged for multiple reasons.
|
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>
|
* **No Warranty disclaimer:** This could open you up to being sued.<sup>[1]</sup>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<div class="container mt-4">
|
<div class="container mt-4">
|
||||||
<main class="row">
|
<main class="row">
|
||||||
<article class="col-md-9 content">
|
<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 }}
|
{{ html | safe }}
|
||||||
</article>
|
</article>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<div class="container mt-4">
|
<div class="container mt-4">
|
||||||
<article class="content">
|
<article class="content">
|
||||||
{% if not page["no_h1"] %}<h1>{{ page['title'] }}</h1>{% endif %}
|
<h1 class="mb-4">{{ page['title'] }}</h1>
|
||||||
|
|
||||||
{{ html | safe }}
|
{{ html | safe }}
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
Reference in New Issue
Block a user