1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Use wikibox

This commit is contained in:
Steffo 2018-09-14 00:49:22 +02:00
parent e08d2ec957
commit 7c28c670b7
3 changed files with 14 additions and 24 deletions

View file

@ -0,0 +1,12 @@
<div class="box">
<div class="upper-box">
Pagine Wiki
</div>
<div class="lower-box">
<ul>
{% for page in wiki_pages %}
<li><a href="/wiki/{{ page.key }}">{{ page.key }}</a></li>
{% endfor %}
</ul>
</div>
</div>

View file

@ -20,18 +20,7 @@
{% endfor %}
</div>
</div>
<div class="box">
<div class="upper-box">
Pagine Wiki
</div>
<div class="lower-box">
<ul>
{% for page in wiki_pages %}
<li><a href="/wiki/{{ page.key }}">{{ page.key }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% include "wikibox.html" %}
<div class="box">
<div class="upper-box">
Citazione casuale dal diario

View file

@ -9,17 +9,6 @@
Royal Wiki
</h1>
<div class="wiki-home">
<div class="box">
<div class="upper-box">
Pagine Wiki
</div>
<div class="lower-box">
<ul>
{% for page in wiki_pages %}
<li><a href="/wiki/{{ page.key }}">{{ page.key }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% include "wikibox.html" %}
</div>
{% endblock %}