diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-10-19 01:32:07 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-10-19 01:32:07 +0200 |
commit | 61b0a3b49513b95d90fa9201f625e744a5d3fc27 (patch) | |
tree | af42c91ca7ea78aaca769a119c1296a0ffd36e08 /layouts/partials | |
parent | 9ea5d3da83bd7cca79ab4f91ef0c0fcdf701ff4c (diff) | |
download | hugo-minimalist-theme-61b0a3b49513b95d90fa9201f625e744a5d3fc27.tar.gz hugo-minimalist-theme-61b0a3b49513b95d90fa9201f625e744a5d3fc27.tar.bz2 hugo-minimalist-theme-61b0a3b49513b95d90fa9201f625e744a5d3fc27.zip |
favicon head
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head.html | 7 |
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> |