hugo/tpl/tplimpl/embedded
Mark Mandel 88c8a15be1 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.
2019-06-26 22:38:30 +02:00
..
generate all: Apply staticcheck recommendations 2019-03-24 16:14:51 +01:00
templates Pagination - do not render href if no next item 2019-06-26 22:38:30 +02:00
.gitattributes tpl/tplimpl: Make the autogenerated templates collapsed in PRs 2018-08-23 22:03:43 +02:00
README.md tpl: Fix golint godoc issues 2018-09-07 08:25:51 +02:00
templates.autogen.go Remove references to Google+ 2019-05-26 19:24:45 +02:00

Build Templates

If you add or modify any template in the templates folder, you also need to run mage generate to get the Go code in synch.