2019-09-15 15:39:39 -04:00
|
|
|
<!DOCTYPE html>
|
2022-04-02 05:21:09 -04:00
|
|
|
<html lang="en">
|
2019-09-15 15:39:39 -04:00
|
|
|
|
|
|
|
{% include head.html %}
|
|
|
|
|
|
|
|
<body>
|
2023-10-15 19:40:48 -04:00
|
|
|
{% include theme-switcher.html %}
|
|
|
|
|
2019-09-15 15:39:39 -04:00
|
|
|
<div id="wrap">
|
2022-04-02 05:21:09 -04:00
|
|
|
<div id="periodical">
|
|
|
|
|
|
|
|
<!-- Navigation -->
|
2023-10-15 19:40:48 -04:00
|
|
|
{% include menu-toggle.html %}
|
2022-04-02 05:21:09 -04:00
|
|
|
{% include menu.html %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
<!-- Header -->
|
|
|
|
{% if site.custom_header == true %}
|
|
|
|
{% include header-custom.html %}
|
|
|
|
{% else %}
|
|
|
|
{% include header.html %}
|
|
|
|
{% endif %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
<!-- Main content -->
|
|
|
|
<div id="container">
|
|
|
|
<main>
|
|
|
|
{{ content }}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<!-- Pagination links -->
|
|
|
|
{% if paginator.total_pages > 1 %}
|
|
|
|
<div class="pagination">
|
|
|
|
{% if paginator.previous_page == 1 %}
|
|
|
|
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">«</a>
|
|
|
|
{% elsif paginator.previous_page%}
|
|
|
|
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">«</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="page-item">«</span>
|
|
|
|
{% endif %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
{% for page in (1..paginator.total_pages) %}
|
|
|
|
{% if page == paginator.page %}
|
|
|
|
<span class="page-item">{{ page }}</span>
|
|
|
|
{% elsif page == 1 %}
|
|
|
|
<a href="{{ '/' | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">{{ page }}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}" class="page-item">{{ page }}</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
{% if paginator.next_page %}
|
|
|
|
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}" class="page-item">»</a>
|
|
|
|
{% else %}
|
|
|
|
<span class="page-item">»</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
</div><!-- div#container -->
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
<!-- Footer -->
|
|
|
|
{% include footer.html %}
|
2019-09-15 15:39:39 -04:00
|
|
|
|
2022-04-02 05:21:09 -04:00
|
|
|
<!-- Script -->
|
|
|
|
{% include script.html %}
|
|
|
|
</div><!-- div#periodical -->
|
|
|
|
</div><!-- div#wrap -->
|
2019-09-15 15:39:39 -04:00
|
|
|
</body>
|
|
|
|
</html>
|