chg: Improve redirects on index

pull/67/head
Raphaël Vinot 2020-02-04 19:15:44 +01:00
parent 4234e44470
commit 62ff47c3f1
2 changed files with 8 additions and 10 deletions

View File

@ -14,7 +14,7 @@
<th>Page title</th>
<th>Initial URL</th>
<th>Initial redirects</th>
<tr>
</tr>
</thead>
<tbody>
{% for uuid, page_title, date, time, url, redirects in titles %}
@ -26,11 +26,13 @@
<td>{{ url }}</td>
<td>
{% if redirects %}
<ul>
{% for r in redirects %}
<li>{{ r }}</li>
{{ r }}
{% if loop.nextitem %}
</br>{{ ("&nbsp;" * (loop.index *2) )|safe }}↪
{%endif%}
{% endfor %}
</ul>
{% else%}
No redirect
{%endif%}

View File

@ -20,14 +20,10 @@
{% endblock %}
</head>
<body>
<!-- Your page contont -->
<!--
<div class="container">
-->
<!-- Your page content -->
<div class="container-fluid">
{% block content %}{% endblock%}
<!--
</div>
-->
{% block scripts %}
<!-- Optional JavaScript -->