diff --git a/exampleSite/config.toml b/exampleSite/config.toml index da0b209d..9f37a094 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -58,8 +58,12 @@ enableGitInfo = true # You can also specify this parameter per page in front matter. BookToC = true - # (Optional, default none) Set the path to a logo for the book. If the logo is - # /static/logo.png then the path would be logo.png + # (Optional, default favicon.png) Set the path to a favicon file. + # If the favicon is /static/favicon.png then the path would be favicon.png + # BookFavicon = 'favicon.png' + + # (Optional, default none) Set the path to a logo for the book. + # If the logo is /static/logo.png then the path would be logo.png # BookLogo = 'logo.png' # (Optional, default none) Set leaf bundle to render as side menu diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index de550396..b9b80167 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -54,8 +54,12 @@ params: # You can also specify this parameter per page in front matter. BookToC: true - # (Optional, default none) Set the path to a logo for the book. If the logo is - # /static/logo.png then the path would be logo.png + # (Optional, default favicon.png) Set the path to a favicon file. + # If the favicon is /static/favicon.png then the path would be favicon.png + # BookFavicon: "favicon.png" + + # (Optional, default none) Set the path to a logo for the book. + # If the logo is /static/logo.png then the path would be logo.png # BookLogo: /logo.png # (Optional, default none) Set leaf bundle to render as side menu diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index 02ac4a51..c3a0c06f 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -15,7 +15,7 @@ {{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }} - + {{- range .Translations }}