hugo/tpl/tplimpl
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
..
embedded Pagination - do not render href if no next item 2019-06-26 22:38:30 +02:00
ace.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
amber_compiler.go tpl/tplimpl: Fix compiling Amber templates that import other templates 2018-08-17 10:04:07 +02:00
shortcodes.go hugolib: Fix shortcode namespace issue 2019-04-15 18:31:56 +02:00
shortcodes_test.go hugolib: Fix shortcode namespace issue 2019-04-15 18:31:56 +02:00
template.go hugolib: Avoid recloning of shortcode templates 2019-04-24 12:37:57 +02:00
template_ast_transformers.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
template_ast_transformers_test.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
template_errors.go hugolib: Continue the file context/line number errors work 2018-10-22 20:46:14 +02:00
template_funcs.go tpl: Fix reflect 2018-12-28 10:41:46 +01:00
template_funcs_test.go i18n: Move the package below /langs 2019-05-04 18:25:56 +02:00
template_info_test.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
templateFuncster.go Make Page an interface 2019-03-23 18:51:22 +01:00
templateProvider.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00