summaryrefslogtreecommitdiffstats
path: root/.github/calibre
diff options
context:
space:
mode:
authorMark Mandel <markmandel@google.com>2019-06-26 13:31:06 -0700
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-06-26 22:38:30 +0200
commit88c8a15be18a0bd1bd9b9cb175f7a68f2b9cd355 (patch)
tree8cca39f1b094f3265ab8a76cf8f893026bb43838 /.github/calibre
parent59c4bc52ed6b146baa6cca97d054004297ea098a (diff)
Pagination - do not render href if no next item
When using a html link checker with Hugo, this template consistently causes errors, as it renders `href=""` attributes when next/previous is disabled. This change makes it so that the `href` attribute is not rendered at all if `HasNext` is false - which is better semantically, and makes link checking far easier.
Diffstat (limited to '.github/calibre')
0 files changed, 0 insertions, 0 deletions