Add favicons partial support

This commit is contained in:
James Panther
2021-08-14 10:47:33 +10:00
parent 93bb7e5f00
commit ad0fe1db15
2 changed files with 12 additions and 9 deletions
+4 -5
View File
@@ -18,13 +18,12 @@
<a class="hover:underline" href="https://git.io/hugo-congo" target="_blank">Congo</a>
</p>
{{ end }}
{{/* Extend footer - eg. for extra scripts, etc. */}}
{{ if templates.Exists "partials/extend-footer.html" }}
{{ partialCached "extend-footer.html" . }}
{{ end }}
</footer>
{{/* Extend footer - eg. for extra scripts, etc. */}}
{{ if templates.Exists "partials/extend-footer.html" }}
{{ partialCached "extend-footer.html" . }}
{{ end }}
{{/* 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>