aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index fce859b..38e31b7 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,9 +8,12 @@
{{ end }}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css">
- <link rel="icon" href="/images/favicon.png">
+
+ {{ with resources.Get .Site.Params.favicon }}
+ <link rel="icon" href="{{ .RelPermalink }}">
+ {{ end }}
{{ range .AlternativeOutputFormats -}}
-{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
+ {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>