diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-15 18:17:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-15 18:17:36 +0300 |
commit | c7ebb6ad954f809fc506736be22e1c3c0f11c2a7 (patch) | |
tree | 039eda4bd6e7289f953dc2fb73dc7b05c93542c0 /_includes/jekyll-theme/posts/paginator.html | |
parent | paginator: refactoring (diff) | |
download | jekyll-theme-c7ebb6ad954f809fc506736be22e1c3c0f11c2a7.tar.gz jekyll-theme-c7ebb6ad954f809fc506736be22e1c3c0f11c2a7.zip |
paginator: get rid of stupid href="#" anchors
Diffstat (limited to '')
-rw-r--r-- | _includes/jekyll-theme/posts/paginator.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/_includes/jekyll-theme/posts/paginator.html b/_includes/jekyll-theme/posts/paginator.html index 268d8fd..d1d6072 100644 --- a/_includes/jekyll-theme/posts/paginator.html +++ b/_includes/jekyll-theme/posts/paginator.html @@ -21,12 +21,14 @@ </li> {% else %} <li class="disabled"> - <a href="#">{{ prev }}</a> + <span>{{ prev }}</span> </li> {% endif %} {% for page_number in (1..paginator.total_pages) %} {% if page_number == paginator.page %} - <li class="active"><a href="#">{{ page_number }}</a></li> + <li class="active"> + <span>{{ page_number }}</span> + </li> {% elsif page_number == 1 %} <li> <a href="{{ page1_url | relative_url }}">{{ page_number }}</a> @@ -43,7 +45,7 @@ </li> {% else %} <li class="disabled"> - <a href="#">{{ next }}</a> + <span>{{ next }}</span> </li> {% endif %} </ul> |