You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
chalin
changed the title
Pagination: consider dropping href="#" for disabled buttons since it is an invalid anchor
Pagination: consider dropping href="#" for disabled buttons since it is an invalid reference
Nov 9, 2021
chalin
changed the title
Pagination: consider dropping href="#" for disabled buttons since it is an invalid reference
Pagination: consider dropping href="#" for disabled buttons since it is an invalid fragment id
Nov 9, 2021
@chalin Yes, I will look at this. Link checking is one problem, but the primary driver is that the fragment resolves to the server root when serving from a subdirectory with a <base href="{{ site.BaseURL }}"> element.
Great update in #8602 @jmooring!
Could we drop the invalid anchors (
href="#"
) for disabled buttons?It's tripping link checking. For example, see
hugo/tpl/tplimpl/embedded/templates/pagination.html
Line 43 in 805c24c
Prior to #8602, the previous button omitted the
href
attribute when there was no previous page./cc @austinlparker @nate-double-u
The text was updated successfully, but these errors were encountered: