mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 05:21:45 +00: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. |
||
---|---|---|
.. | ||
_default | ||
shortcodes | ||
disqus.html | ||
google_analytics.html | ||
google_analytics_async.html | ||
google_news.html | ||
opengraph.html | ||
pagination.html | ||
schema.html | ||
twitter_cards.html |