mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
88c8a15be1
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. |
||
---|---|---|
.. | ||
embedded | ||
ace.go | ||
amber_compiler.go | ||
shortcodes.go | ||
shortcodes_test.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_errors.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_info_test.go | ||
templateFuncster.go | ||
templateProvider.go |