From 7c28c670b7d4c7ec9b38bd5674ee10c2a0298392 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 14 Sep 2018 00:49:22 +0200 Subject: [PATCH] Use wikibox --- templates/components/wikibox.html | 12 ++++++++++++ templates/main.html | 13 +------------ templates/wikilist.html | 13 +------------ 3 files changed, 14 insertions(+), 24 deletions(-) create mode 100644 templates/components/wikibox.html diff --git a/templates/components/wikibox.html b/templates/components/wikibox.html new file mode 100644 index 00000000..fdbcf9b8 --- /dev/null +++ b/templates/components/wikibox.html @@ -0,0 +1,12 @@ +
+
+ Pagine Wiki +
+
+ +
+
\ No newline at end of file diff --git a/templates/main.html b/templates/main.html index ffbf0209..95160eeb 100644 --- a/templates/main.html +++ b/templates/main.html @@ -20,18 +20,7 @@ {% endfor %} -
-
- Pagine Wiki -
-
- -
-
+ {% include "wikibox.html" %}
Citazione casuale dal diario diff --git a/templates/wikilist.html b/templates/wikilist.html index 1c3a5ffe..b893ad16 100644 --- a/templates/wikilist.html +++ b/templates/wikilist.html @@ -9,17 +9,6 @@ Royal Wiki
-
-
- Pagine Wiki -
-
- -
-
+ {% include "wikibox.html" %}
{% endblock %} \ No newline at end of file