1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <footer class="site-footer">
- {{ if or (site.GetPage "terms.md") (site.GetPage "privacy.md") }}
- <p class="powered-by">
- {{ with site.GetPage "privacy.md" }}
- {{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
- {{ end }}
- {{ with site.GetPage "terms.md" }}
- {{ if site.GetPage "privacy.md" }} · {{ end }}
- {{ printf "<a href=\"%s\">%s</a>" .RelPermalink .Title | safeHTML }}
- {{ end }}
- </p>
- {{ end }}
- <p class="powered-by">
- {{ with site.Copyright }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}
- </p>
- {{/* Display copyright license. */}}
- {{ partial "site_footer_license" . }}
- <p class="powered-by">
- {{ $is_sponsor := site.Params.i_am_a_sponsor | default false }}
- {{ $hide_published_with_footer := site.Params.power_ups.hide_published_with | default true }}
- {{ if not (and $is_sponsor $hide_published_with_footer) }}
- Published with
- <a href="https://wowchemy.com" target="_blank" rel="noopener">Wowchemy</a> —
- the free, <a href="https://github.com/wowchemy/wowchemy-hugo-modules" target="_blank" rel="noopener">
- open source</a> website builder that empowers creators.
- {{ end }}
- {{ if not (in (slice "book" "docs" "updates") .Type) }}
- <span class="float-right">
- <a href="#" class="back-to-top" aria-label="Back to top">
- <span class="button_icon">
- <i class="fas fa-chevron-up fa-2x"></i>
- </span>
- </a>
- </span>
- {{ end }}
- </p>
- </footer>
|