diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2021-11-20 21:29:04 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-12-02 09:14:30 +0100 |
commit | 133e4bfbeee47bf6843fbcad90f14501f3d3a099 (patch) | |
tree | e365e46426361ea916c79a4a22cae1a0e87757f2 /tpl/tplimpl/embedded/templates.autogen.go | |
parent | f122771fb1345786f81011181cfd2c452f316278 (diff) |
Remove empty href element from pagination template
Closes #9149
Diffstat (limited to 'tpl/tplimpl/embedded/templates.autogen.go')
-rw-r--r-- | tpl/tplimpl/embedded/templates.autogen.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 33062ba06..61a5e856e 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -294,7 +294,7 @@ if (!doNotTrack) { </li> {{- else }} <li class="page-item disabled"> - <a href="#" aria-disabled="true" aria-label="First" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">««</span></a> + <a aria-disabled="true" aria-label="First" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">««</span></a> </li> {{- end }} {{- end }} @@ -305,7 +305,7 @@ if (!doNotTrack) { </li> {{- else }} <li class="page-item disabled"> - <a href="#" aria-disabled="true" aria-label="Previous" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">«</span></a> + <a aria-disabled="true" aria-label="Previous" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">«</span></a> </li> {{- end }} @@ -319,7 +319,7 @@ if (!doNotTrack) { {{- range $k := seq $start $end }} {{- if eq $.Paginator.PageNumber $k }} <li class="page-item active"> - <a href="#" aria-current="page" aria-label="Page {{ $k }}" class="page-link" role="button">{{ $k }}</a> + <a aria-current="page" aria-label="Page {{ $k }}" class="page-link" role="button">{{ $k }}</a> </li> {{- else }} <li class="page-item"> @@ -334,7 +334,7 @@ if (!doNotTrack) { </li> {{- else }} <li class="page-item disabled"> - <a href="#" aria-disabled="true" aria-label="Next" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">»</span></a> + <a aria-disabled="true" aria-label="Next" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">»</span></a> </li> {{- end }} @@ -345,7 +345,7 @@ if (!doNotTrack) { </li> {{- else }} <li class="page-item disabled"> - <a href="#" aria-disabled="true" aria-label="Last" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">»»</span></a> + <a aria-disabled="true" aria-label="Last" class="page-link" role="button" tabindex="-1"><span aria-hidden="true">»»</span></a> </li> {{- end }} {{- end }} @@ -382,7 +382,7 @@ if (!doNotTrack) { {{- range $k := seq $start $end }} {{- if eq $.Paginator.PageNumber $k }} <li class="page-item active"> - <a href="#" aria-current="page" aria-label="Page {{ $k }}" class="page-link" role="button">{{ $k }}</a> + <a aria-current="page" aria-label="Page {{ $k }}" class="page-link" role="button">{{ $k }}</a> </li> {{- else }} <li class="page-item"> |