diff --git a/demo/config/_default/params.toml b/demo/config/_default/params.toml index 38e0f2e..d5d240f 100644 --- a/demo/config/_default/params.toml +++ b/demo/config/_default/params.toml @@ -1,6 +1,6 @@ mainSections = ["post"] rssFullContent = true -favicon = "" +favicon = "img/avatar.png" [footer] since = 2020 diff --git a/layouts/_partials/head/head.html b/layouts/_partials/head/head.html index fe060a7..2149fa6 100644 --- a/layouts/_partials/head/head.html +++ b/layouts/_partials/head/head.html @@ -19,7 +19,8 @@ {{- end -}} {{ with .Site.Params.favicon }} - + {{- $favicon := partial "helper/image" (dict "Image" . "Resources" resources) -}} + {{ end }} {{- partial "google_analytics.html" . -}}