diff options
author | Robert Kaussow <mail@geeklabor.de> | 2021-07-20 11:58:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 11:58:58 +0300 |
commit | fe54c2229ded272830dc656c459ff21824b57ac8 (patch) | |
tree | 52912a89678a3918d4e6b4b374932d2243e76a57 | |
parent | a2607d3fe0be384c724370b545454d134c171755 (diff) |
fix: fix horizontal floating of the site footer (#169)v0.16.1
* fix: fix horizontal floating of the site footer
* indentation
-rw-r--r-- | layouts/partials/site-footer.html | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index 07d37b5..8242014 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -1,25 +1,29 @@ -<footer class="gdoc-footer flex"> - <div class="container flex flex-wrap"> - <span class="gdoc-footer__item gdoc-footer__item--row"> - Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and - <svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg> - </span> - {{ with .Site.Params.GeekdocLegalNotice }} - <span class="gdoc-footer__item gdoc-footer__item--row"> - <a href="{{ . | relURL }}" class="gdoc-footer__link">Legal Notice</a> - </span> +<footer class="gdoc-footer"> + <div class="container flex"> + <div class="flex flex-wrap"> + <span class="gdoc-footer__item gdoc-footer__item--row"> + Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and + <svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg> + </span> + {{ with .Site.Params.GeekdocLegalNotice }} + <span class="gdoc-footer__item gdoc-footer__item--row"> + <a href="{{ . | relURL }}" class="gdoc-footer__link">Legal Notice</a> + </span> + {{ end }} + {{ with .Site.Params.GeekdocPrivacyPolicy }} + <span class="gdoc-footer__item gdoc-footer__item--row"> + <a href="{{ . | relURL }}" class="gdoc-footer__link">Privacy Policy</a> + </span> + {{ end }} + </div> + {{ if (default true .Site.Params.GeekdocBackToTop) }} + <div class="flex flex-25 justify-end"> + <span class="gdoc-footer__item"> + <a class="gdoc-footer__link fake-link" href="#" aria-label="Back to top"> + <svg class="icon gdoc_keyborad_arrow_up"><use xlink:href="#gdoc_keyborad_arrow_up"></use></svg> <span class="hidden-mobile">Back to top</span> + </a> + </span> + </div> {{ end }} - {{ with .Site.Params.GeekdocPrivacyPolicy }} - <span class="gdoc-footer__item gdoc-footer__item--row"> - <a href="{{ . | relURL }}" class="gdoc-footer__link">Privacy Policy</a> - </span> - {{ end }} - </div> - {{ if (default true .Site.Params.GeekdocBackToTop) }} - <div class="container flex flex-25 justify-end"> - <span class="gdoc-footer__item"> - <a class="gdoc-footer__link fake-link" href="#" aria-label="Back to top"><svg class="icon gdoc_keyborad_arrow_up"><use xlink:href="#gdoc_keyborad_arrow_up"></use></svg> <span class="hidden-mobile">Back to top</span></a> - </span> </div> - {{ end }} </footer> |