revuo-weekly/_layouts/revuo-weekly.html

62 lines
1.4 KiB
HTML
Raw Normal View History

2019-09-15 21:39:39 +02:00
<!DOCTYPE html>
2022-04-02 11:21:09 +02:00
<html lang="en">
2019-09-15 21:39:39 +02:00
{% include head.html %}
<body>
{% include theme-switcher.html %}
2019-09-15 21:39:39 +02:00
<div id="wrap">
2022-04-02 11:21:09 +02:00
<div id="weekly">
2019-09-15 21:39:39 +02:00
2022-04-02 11:21:09 +02:00
<!-- Navigation -->
{% include menu-toggle.html %}
2022-04-02 11:21:09 +02:00
{% include menu.html %}
2019-09-15 21:39:39 +02:00
2022-04-02 11:21:09 +02:00
<!-- Header -->
{% if site.custom_header == true %}
{% include header-custom.html %}
{% else %}
{% include header.html %}
{% endif %}
2019-09-15 21:39:39 +02:00
2022-04-02 11:21:09 +02:00
<!-- Main content -->
<div id="container">
2021-02-04 03:23:33 +01:00
2022-04-02 11:21:09 +02:00
<main>
{{ content }}
</main>
2021-02-04 03:23:33 +01:00
2022-04-02 11:21:09 +02:00
<!-- Pagination links -->
<div class="pagination">
{% if paginator.total_pages > 1 %}
<div class="page-numbers">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path}}" class="page-item prev">«</a>
{% endif %}
2019-09-15 21:39:39 +02:00
2022-04-02 11:21:09 +02:00
{% for page in (1..paginator.total_pages) %}
{% assign total = paginator.total_pages %}
{% if page == paginator.page %}
<p class="page-numbers-display">{{ page }} of {{total}}</p>
{% endif %}
{% endfor %}
2019-09-15 21:39:39 +02:00
2022-04-02 11:21:09 +02:00
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path}}" class="page-item next">»</a>
{% endif %}
</div>
{% endif %}
</div>
</div><!-- div#container -->
<!-- Footer -->
{% include footer.html %}
<!-- Script -->
{% include script.html %}
</div><!-- div#weekly -->
</div><!-- div#wrap -->
2019-09-15 21:39:39 +02:00
</body>
</html>