diff options
author | tdro <tdro@noreply.example.com> | 2022-09-08 02:16:13 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-09-08 02:16:13 -0400 |
commit | 31719f718d62bedb4795079d0fe690f039bef614 (patch) | |
tree | 1c823cb35ccacfcec66f9d1cc34c41b7022d6b02 /themes | |
parent | 1ffdf422cce1f9a783365e47387e6ae36e8e675b (diff) | |
download | canory-31719f718d62bedb4795079d0fe690f039bef614.tar.gz canory-31719f718d62bedb4795079d0fe690f039bef614.tar.bz2 canory-31719f718d62bedb4795079d0fe690f039bef614.zip |
themes/default/layouts/partials/pagination: Clean up labels
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/partials/pagination.html | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/themes/default/layouts/partials/pagination.html b/themes/default/layouts/partials/pagination.html index cc4cc00..4c2d97f 100644 --- a/themes/default/layouts/partials/pagination.html +++ b/themes/default/layouts/partials/pagination.html @@ -3,26 +3,25 @@ {{ if and .HasPrev .First }} <a href="{{ .First.URL }}" - aria-label="First" title="First" - role="button"> + > First </a> {{ else }} <button data-invisible title="Disabled" - aria-label="First"> + > First </button> {{- end -}} {{ with .Prev }} <a - href="{{ .URL }}" - aria-label="Back" + rel="prev" title="Back" - role="button"> + href="{{ .URL }}" + > {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-left.svg")) }} Back </a> @@ -30,7 +29,7 @@ <button data-invisible title="Disabled" - aria-label="Back"> + > {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-left.svg")) }} Back </button> @@ -38,10 +37,10 @@ {{ if .Next }} <a - href="{{ .Next.URL }}" - aria-label="Next" + rel="next" title="Next" - role="button"> + href="{{ .Next.URL }}" + > Next {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-right.svg")) }} </a> @@ -49,7 +48,7 @@ <button data-invisible title="Disabled" - aria-label="Next"> + > Next {{ safeHTML (readFile (print (partial "function-paths.html" "static") "/icons/feather/arrow-right.svg")) }} </button> @@ -58,16 +57,15 @@ {{ if and .HasNext .Last }} <a href="{{ .Last.URL }}" - aria-label="Last" - title="Next" - role="button"> + title="Last" + > Last </a> {{ else }} <button data-invisible title="Disabled" - aria-label="Last"> + > Last </button> {{- end -}} |