diff --git a/README.md b/README.md index 21f7b36b..a0782989 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,18 @@ You can edit the logo from the `config.toml` desktop_height = "36px" alt = "Serif - A Hugo Business Theme" ``` +### Favicon + +You can edit the favicon from the `config.toml` + +```toml +# config.toml + +[params] + google_analytics_id = "UA-XXX-1" + google_tag_manager_id = "" + favicon = "favicon-32x32.svg" +``` ### Fonts diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a105f0f9..8969ec59 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,6 +13,7 @@ title = "Hugo Serif Theme" # In most cases you will only want to set the google_analytics_id OR the google_tag_manager_id. If you have Google Analytics included in your GTM tags don't put your GA ID here. Otherwise your data might be useless. google_analytics_id = "" google_tag_manager_id = "" + favicon = "favicon-32x32.svg" [params.homepage] show_contact_box = true # show / hide the contaxt box on the homepage diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ace52a26..f6f1f485 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@