Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-staticcms

This commit is contained in:
Nico Schottelius 2019-11-18 14:21:44 +01:00
commit d2aa953b07
3 changed files with 6 additions and 2 deletions

BIN
assets/u/image/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -18,6 +18,7 @@
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/u/static/style.css'|url }}">
<title>{% block title %}Welcome to {% endblock %} | ungleich.ch</title>
<link rel="shortcut icon" href="{{ '/u/image/favicon.ico'|url }}" type="image/x-icon">
</head>
<body>

View file

@ -4,8 +4,11 @@
<a href="{{ pagination.prev|url }}">&laquo; Previous</a>
{% else %}
<span class="disabled">&laquo; Previous</span>
{% endif %}
| {{ pagination.page }} |
{% endif %} |
{{ pagination.page }} |
{% for page in range(pagination.page + 1, pagination.pages + 1)[:5] %}
<a href="{{ pagination.for_page(page)|url }}">{{ page }}</a> |
{% endfor %}
{% if pagination.has_next %}
<a href="{{ pagination.next|url }}">Next &raquo;</a>
{% else %}