diff --git a/README.md b/README.md index 71c30d7..1b5e1fc 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,8 @@ paginate = 5 fullWidthTheme = false # center theme with default width centerTheme = false + # set a custom favicon (default is a `themeColor` square) + # favicon = "favicon.ico" [languages] [languages.en] diff --git a/layouts/partials/head.html b/layouts/partials/head.html index bb44924..8f108fd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -16,8 +16,10 @@ -{{ with $.Site.Params.ThemeColor }} - +{{ if isset $.Site.Params "favicon" }} + +{{ else }} + {{ end }}