Optional brand logo in the menu controlled by .Site.Params.BookLogo

- documentation in README.md and exampleSite/config.{toml,yaml}
This commit is contained in:
Paul Twohey
2019-09-01 11:05:34 -07:00
committed by Alex Shpak
parent 7d0ee68c3b
commit 6004c7edc3
5 changed files with 32 additions and 2 deletions
+4
View File
@@ -20,6 +20,10 @@ pygmentsCodeFences = true
# You can also specify this parameter per page in front matter
BookToC = 3
# (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
# When not specified file structure and weights will be used
BookMenuBundle = '/menu'
+5 -1
View File
@@ -20,6 +20,10 @@ params:
# You can also specify this parameter per page in front matter
BookToC: 3
# (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
# When not specified file structure and weights will be used
BookMenuBundle: /menu
@@ -45,6 +49,6 @@ params:
# - In blog posts
BookDateFormat: 'Jan 2, 2006'
# (Optional, default true) Enables search function with lunr.js,
# (Optional, default true) Enables search function with lunr.js,
# Index is built on fly, therefore it might slowdown your website.
BookSearch: true