diff --git a/config.yaml b/config.yaml index 4c3975a..b9dbc45 100644 --- a/config.yaml +++ b/config.yaml @@ -4,8 +4,6 @@ markup: lineNos: true params: - faviconICO: favicon.ico - faviconPNG: favicon.png readingtime: true taxonomies: diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 3b8fbca..c000f70 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -20,9 +20,9 @@ params: # these are for the OpenGraph/Twitter embeds in Hugo description: Example website for bobatheme - # these are for favicons in bobatheme (defaults are shown here) - # faviconICO: favicon.ico - # faviconPNG: favicon.png + # these are for favicons in bobatheme (disabled by default) + # faviconSVG: favicon.svg + # appleTouchPNG: apple-touch-icon.png # show reading time (enabled by default) # readingtime: true diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2c24d2f..22f8c3d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,11 +16,11 @@ {{ end }} - {{ with .Site.Params.faviconICO }} - + {{ with .Site.Params.faviconSVG }} + {{ end }} - {{ with .Site.Params.faviconPNG }} - + {{ with .Site.Params.appleTouchPNG }} + {{ end }} {{ if .IsHome }}