From c7ebb6ad954f809fc506736be22e1c3c0f11c2a7 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 15 Apr 2022 18:17:36 +0300 Subject: paginator: get rid of stupid href="#" anchors --- _includes/jekyll-theme/posts/paginator.html | 8 +++++--- 1 file 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 @@ {% else %}
  • - {{ prev }} + {{ prev }}
  • {% endif %} {% for page_number in (1..paginator.total_pages) %} {% if page_number == paginator.page %} -
  • {{ page_number }}
  • +
  • + {{ page_number }} +
  • {% elsif page_number == 1 %}
  • {{ page_number }} @@ -43,7 +45,7 @@
  • {% else %}
  • - {{ next }} + {{ next }}
  • {% endif %} -- cgit v1.2.3