2021-08-11 05:28:33 +00:00
|
|
|
<footer class="py-10 text-sm">
|
|
|
|
{{/* Copyright */}}
|
|
|
|
<p class="text-gray-400 dark:text-gray-500">
|
|
|
|
{{- with .Site.Copyright }}
|
|
|
|
{{ . | emojify | markdownify }}
|
|
|
|
{{- else }}
|
|
|
|
©
|
|
|
|
{{ now.Format "2006" }}
|
|
|
|
{{ .Site.Author.name }}
|
|
|
|
{{- end }}
|
|
|
|
</p>
|
|
|
|
{{/* Theme attribution */}}
|
|
|
|
{{ if .Site.Params.attribution | default true }}
|
|
|
|
<p class="text-xs text-gray-300 dark:text-gray-600">
|
2021-08-17 06:48:08 +00:00
|
|
|
{{ i18n "footer.powered_by" }}
|
2021-08-18 02:54:18 +00:00
|
|
|
<a
|
2021-08-20 03:56:45 +00:00
|
|
|
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
|
2021-08-18 02:54:18 +00:00
|
|
|
href="https://gohugo.io/"
|
|
|
|
target="_blank"
|
|
|
|
>Hugo</a
|
|
|
|
>
|
2021-08-11 05:28:33 +00:00
|
|
|
&
|
2021-08-18 02:54:18 +00:00
|
|
|
<a
|
2021-08-20 03:56:45 +00:00
|
|
|
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
|
2021-08-18 02:54:18 +00:00
|
|
|
href="https://git.io/hugo-congo"
|
|
|
|
target="_blank"
|
|
|
|
>Congo</a
|
|
|
|
>
|
2021-08-11 05:28:33 +00:00
|
|
|
</p>
|
|
|
|
{{ end }}
|
2021-08-14 00:47:33 +00:00
|
|
|
{{/* Extend footer - eg. for extra scripts, etc. */}}
|
|
|
|
{{ if templates.Exists "partials/extend-footer.html" }}
|
|
|
|
{{ partialCached "extend-footer.html" . }}
|
|
|
|
{{ end }}
|
2021-08-11 05:28:33 +00:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
{{/* Include mermaid.js only on pages that use the shortcode */}}
|
|
|
|
{{- if (in (string .Content) "class=\"mermaid\"") -}}
|
|
|
|
<script src="https://unpkg.com/mermaid@8.11.4/dist/mermaid.min.js"></script>
|
|
|
|
<script>
|
|
|
|
mermaid.initialize({ theme: "default" });
|
|
|
|
</script>
|
|
|
|
{{- end -}}
|