fix: fix horizontal floating of the site footer (#169)
* fix: fix horizontal floating of the site footer * indentationuci-hugo-doc
parent
a2607d3fe0
commit
fe54c2229d
|
@ -1,25 +1,29 @@
|
||||||
<footer class="gdoc-footer flex">
|
<footer class="gdoc-footer">
|
||||||
<div class="container flex flex-wrap">
|
<div class="container flex">
|
||||||
<span class="gdoc-footer__item gdoc-footer__item--row">
|
<div class="flex flex-wrap">
|
||||||
Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and
|
<span class="gdoc-footer__item gdoc-footer__item--row">
|
||||||
<svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg>
|
Built with <a href="https://gohugo.io/" class="gdoc-footer__link">Hugo</a> and
|
||||||
</span>
|
<svg class="icon gdoc_heart"><use xlink:href="#gdoc_heart"></use></svg>
|
||||||
{{ with .Site.Params.GeekdocLegalNotice }}
|
</span>
|
||||||
<span class="gdoc-footer__item gdoc-footer__item--row">
|
{{ with .Site.Params.GeekdocLegalNotice }}
|
||||||
<a href="{{ . | relURL }}" class="gdoc-footer__link">Legal Notice</a>
|
<span class="gdoc-footer__item gdoc-footer__item--row">
|
||||||
</span>
|
<a href="{{ . | relURL }}" class="gdoc-footer__link">Legal Notice</a>
|
||||||
{{ end }}
|
</span>
|
||||||
{{ with .Site.Params.GeekdocPrivacyPolicy }}
|
{{ end }}
|
||||||
<span class="gdoc-footer__item gdoc-footer__item--row">
|
{{ with .Site.Params.GeekdocPrivacyPolicy }}
|
||||||
<a href="{{ . | relURL }}" class="gdoc-footer__link">Privacy Policy</a>
|
<span class="gdoc-footer__item gdoc-footer__item--row">
|
||||||
</span>
|
<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 }}
|
{{ end }}
|
||||||
</div>
|
</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>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue