mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-22 14:21:31 +00:00
37 lines
1.1 KiB
HTML
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" }} · {{ 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>
|