diff options
-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 -}} |