summaryrefslogtreecommitdiff
path: root/themes/m10c/layouts/partials/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/m10c/layouts/partials/pagination.html')
-rw-r--r--themes/m10c/layouts/partials/pagination.html27
1 files changed, 0 insertions, 27 deletions
diff --git a/themes/m10c/layouts/partials/pagination.html b/themes/m10c/layouts/partials/pagination.html
deleted file mode 100644
index be6fa11..0000000
--- a/themes/m10c/layouts/partials/pagination.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{{ with $.Paginator }}
-{{ if gt .TotalPages 1 }}
-<ul class="pagination">
- {{ with .Prev }}
- <li class="page-item">
- <a class="page-link" href="{{ .URL }}">
- {{ partial "icon.html" (dict "ctx" $ "name" "arrow-left") }}
- </a>
- </li>
- {{ end }}
- {{ range .Pagers }}
- <li class="page-item{{ if eq .PageNumber $.Paginator.PageNumber }} active{{ end }}">
- <a class="page-link" href="{{ .URL }}">
- {{ .PageNumber }}
- </a>
- </li>
- {{ end }}
- {{ with .Next }}
- <li class="page-item">
- <a class="page-link" href="{{ .URL }}">
- {{ partial "icon.html" (dict "ctx" $ "name" "arrow-right") }}
- </a>
- </li>
- {{ end }}
-</ul>
-{{ end }}
-{{ end }}