github.com/square/finch@v0.0.0-20240412205204-6530c03e2b96/docs/themes/hugo-geekdoc/layouts/partials/site-footer.html (about)

     1  <footer class="gdoc-footer">
     2    <nav class="container flex">
     3      <div>
     4        <section class="flex flex-wrap align-center">
     5          <span class="gdoc-footer__item gdoc-footer__item--row">
     6            {{ i18n "footer_build_with" | safeHTML }}
     7          </span>
     8          {{ with .Site.Params.GeekdocLegalNotice }}
     9            <span class="gdoc-footer__item gdoc-footer__item--row">
    10              <a href="{{ . | relURL }}" class="gdoc-footer__link">
    11                {{ i18n "footer_legal_notice" }}
    12              </a>
    13            </span>
    14          {{ end }}
    15          {{ with .Site.Params.GeekdocPrivacyPolicy }}
    16            <span class="gdoc-footer__item gdoc-footer__item--row">
    17              <a href="{{ . | relURL }}" class="gdoc-footer__link">
    18                {{ i18n "footer_privacy_policy" }}
    19              </a>
    20            </span>
    21          {{ end }}
    22        </section>
    23        {{ with .Site.Params.GeekdocContentLicense }}
    24          <section class="flex flex-wrap align-center">
    25            <span class="gdoc-footer__item">
    26              {{ i18n "footer_content_license_prefix" }}
    27              <a href="{{ .link }}" class="gdoc-footer__link no-wrap">{{ .name }}</a>
    28            </span>
    29          </section>
    30        {{ end }}
    31      </div>
    32      {{ if (default true .Site.Params.GeekdocBackToTop) }}
    33        <div class="flex flex-25 justify-end">
    34          <span class="gdoc-footer__item text-right">
    35            <a class="gdoc-footer__link fake-link" href="#" aria-label="{{ i18n "nav_top" }}">
    36              <svg class="gdoc-icon gdoc_keyboard_arrow_up">
    37                <use xlink:href="#gdoc_keyboard_arrow_up"></use>
    38              </svg>
    39              <span class="hidden-mobile">{{ i18n "nav_top" }}</span>
    40            </a>
    41          </span>
    42        </div>
    43      {{ end }}
    44    </nav>
    45  </footer>