From c0a2488a58fbcc75d70c596a4e604802b7270d22 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 30 Oct 2020 19:45:30 +0800 Subject: [PATCH] Fix the pagination class placement It causes the styling to be wonkily applied (and more difficult at that). --- CHANGELOG.adoc | 5 +++++ layouts/partials/pagination.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 1333edb..3bf25ff 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -20,6 +20,11 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version * The post metadata styling. +=== Fixed + +* The pagination classes has been placed in the right elements. + + === Removed * The `hidden` frontmatter option has been removed in favor of the https://gohugo.io/content-management/build-options/[build options]. diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 6c9a9a7..88fb348 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -41,8 +41,8 @@ {{- $ellipsed = true -}} {{- end -}} {{- if $showNumber }} -