diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-12-06 19:45:46 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-12-06 19:45:46 +0530 |
| commit | f4b900de72d28e14bca0e3cfa85866f838a7abe7 (patch) | |
| tree | 354a75ae4e679f2d105db8f9d6ffe2994dfa8930 | |
| parent | bb2717a3b911ba1a5912b1af5098c9b42e9b946c (diff) | |
footer: go-to-top: fix Uncrawlable Link
rm redundant a tag
| -rw-r--r-- | layouts/partials/footer.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5cd64a9..65045f4 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,12 +9,10 @@ <span>·</span> <span>Theme <a href="https://git.io/hugopapermod" rel="noopener" target="_blank">PaperMod</a></span> </footer> -<a aria-label="go to top" title="Go to Top" accesskey="g"> - <button class="top-link" id="top-link" type="button"> - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"> - <path d="M12 6H0l6-6z" /></svg> - </button> -</a> +<button class="top-link" id="top-link" type="button" aria-label="go to top" title="Go to Top" accesskey="g"> + <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6"> + <path d="M12 6H0l6-6z" /></svg> +</button> {{- partial "extend_footer.html" . -}} {{ if in site.Params.mainSections .Type }} {{- if not .Site.Params.assets.disableFingerprinting }} |
