mivinci/hugo-theme-minima

paginator: missing condition where `newer` and `older` both should present

zonggen opened this issue · 0 comments

Great job on the work, I've integrated minima into my github page: https://zonggen.github.io/

Though I've noticed that you were missing one condition in the paginator: https://github.com/Mivinci/hugo-theme-minima/blob/e6aa0cd091dcef658092bcacaa61f8ab8505ad54/layouts/partials/paginator.html#L4, here there should be a case when both prev and next page is present (e.g. page 2/4).