diff --git a/README.md b/README.md index 847dbe2..2df1622 100644 --- a/README.md +++ b/README.md @@ -159,10 +159,13 @@ params: piwikSiteId: # Matamo site id piwikTrackerUrl: "" # Matamo url, schemaless and no slash on end (example.org/matamo). poweredby: true # Show powered by hugo in footer + realfavicongenerator: # If full set of favicons, site manifest etc. exists, default false. + safariPinnedColor: # Hex color value, used in meta tags, default "#000000". search: true # Site search with DuckDuckGo. searchSize: 20 # Search field size, default 20. sidebar: true # Show a sidebar to the right submitted: true # Show author and date information for a post. + themeColor: # Hex color value, used in meta tags, default "#ffffff". podcast: title: # * Feed title, defaults to site title (iTunes). @@ -190,6 +193,7 @@ The site will work without setting any of the podcast parameters but your podcas ## Customise + ### Logo Place your logo at `static/images/logo.png`. If you don't provide a logo, then the default theme logo will be used. @@ -199,6 +203,8 @@ Place your logo at `static/images/logo.png`. If you don't provide a logo, then t Upload your image to [RealFaviconGenerator](https://realfavicongenerator.net/) then copy-paste the generated favicon files under `static`. +Then set the "realfavicongenerator" param to true to add the needed meta tags. Also good to set the "themeColor" and "safariPinnedColor" params to correct colours. + ### Layouts diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index 6499762..5a33a45 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -1,6 +1,14 @@ {{ .Hugo.Generator }} {{ with $.Param "contact" }}{{ end }} + + {{ with .Site.Params.piwikTrackerUrl }}{{ end }} {{ with $.Param "microusername" }}{{ end }} - + +{{ if $.Param "realfavicongenerator" -}} + + + + +{{ end -}}