summaryrefslogtreecommitdiff
path: root/templates/macros/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/macros/pagination.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/macros/pagination.html b/templates/macros/pagination.html
index adb1b5c..4c8f080 100644
--- a/templates/macros/pagination.html
+++ b/templates/macros/pagination.html
@@ -18,7 +18,7 @@
</li>
{% if window_start > 2 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
{% endif %}
@@ -35,7 +35,7 @@
{% if window_end < total %}
{% if window_end < total - 1 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
<li>
@@ -57,7 +57,7 @@
{% macro render_year_archive_navigation(
current_year_page,
archive_window=2
- ) %}
+) %}
{% set current_year = current_year_page.year %}
{% set first_year_page = current_year_page.first_year_page %}
{% set last_year_page = current_year_page.last_year_page %}
@@ -84,14 +84,14 @@
</li>
{% if window_start > first_year + 1 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
{% endif %}
{% for year in range(window_start, window_end + 1) %}
{% set year_page = site.get(
- '/blog@index-pages/year/{:04d}'.format(year)
- ) %}
+ '/blog@index-pages/year/{:04d}'.format(year)
+ ) %}
{% if year_page %}
<li>
{% if year == current_year %}
@@ -105,7 +105,7 @@
{% if window_end < last_year %}
{% if window_end < last_year - 1 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
<li>
@@ -128,12 +128,12 @@
{% macro render_month_archive_navigation(
current_month_page,
archive_window=2
- ) %}
+) %}
{% set year_pages = index_pages('year') | sort(attribute='year') %}
{% set ns = namespace(
- month_pages=[],
- current_position=none
- ) %}
+ month_pages=[],
+ current_position=none
+ ) %}
{% for year_page in year_pages %}
{% set ns.month_pages = ns.month_pages + (year_page.subindexes | sort(attribute='month')) %}
{% endfor %}
@@ -177,7 +177,7 @@
</li>
{% if window_start > 1 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
{% endif %}
@@ -197,7 +197,7 @@
{% if window_end < total - 1 %}
{% if window_end < total - 2 %}
<li>
- <span aria-hidden="true">&hellip;</span>
+ <span aria-hidden="true">…</span>
</li>
{% endif %}
<li>