enableCollapsibleTOC
and enableCollapsibleChangelogs
propertiesenableCollapsibleTOC
and enableCollapsibleChangelogs
propertiesThese values are inside your toml config file.
HTML is available.
|
|
default: site’s
title
HTML is available.
|
|
default: footer section will not be rendered.
|
|
default: true
To enable the collapsible TOC globally, add:
|
|
default: false
To enable the collapsible changelogs globally, add:
|
|
default: false
Monochrome uses built-in menu system supported by hugo itself. (Checkout document for more deatil.) By default, the menu called navbar
is used to decide which item need to be rendered on the navbar.
So you can simply add the following code to your page front-matter, and the menu info will be handled by hugo out of the box. (simple method mentioned in document)
|
|
Also, weighted value is supported out of the box, you can explicit assign the weight of the navbar entry, hugo will first sort the menu using weight, if there has two entries shared the same weight, the default order will be applied.
|
|
If you try to put entry that aren’t attached to a piece of content, or you want to organize your navbar into a single file, checkout Add Non-content Entries to a Menu or Configuration file of demo site and set these values in your toml settings file.
|
|
|
|
Use $
to create inline result, $$
to create block result.
|
|
default: false
|
|
default: true
|
|
default: false
See Syntax Highlighting for more details.
|
|
default: true
Disable markup highlight feature
|
|
Enable Prism.js
|
|
default: false
Enable line numbers feature
|
|
default: true
|
|
default: not generate author
meta
tag
A flag to render open graph internal template. See Open Graph for additional settings.
|
|
default: true
A flag to render open twitter cards template. See Twitter Cards for additional settings.
|
|
default: true