7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-29 15:16:03 +00:00
web-ansol.org/themes/academic/layouts/partials/site_footer.html
2020-06-11 12:46:16 +01:00

37 lines
1.1 KiB
HTML

<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" }} &middot; {{ 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">
Powered by the
<a href="https://sourcethemes.com/academic/" target="_blank" rel="noopener">Academic theme</a> for
<a href="https://gohugo.io" target="_blank" rel="noopener">Hugo</a>.
{{ if not (in (slice "docs" "updates") .Type) }}
<span class="float-right" aria-hidden="true">
<a href="#" class="back-to-top">
<span class="button_icon">
<i class="fas fa-chevron-up fa-2x"></i>
</span>
</a>
</span>
{{ end }}
</p>
</footer>