Theme Configuration
These values are inside your toml config file.
Navbar title
HTML is available.
Footer
HTML is available.
Table of Contents
TOC global settings.
Collapsible Menu
Collapsible global settings.
Navbar menu
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.
Navbar settings in config
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.
toml example:
yaml example:
List Layout
External Library
MathJax
Use $
to create inline result, $$
to create block result.
Zooming.js
Zooming.js global setting.
Site Search
Add the following settings to config.toml:
Enable site search
Syntax Highlighting
Using Chroma (server-side)
See Syntax Highlighting for more details.
Using Prism.js (client-side)
Disable markup highlight feature
Enable Prism.js
SEO
Author
Open Graph
A flag to render open graph internal template. See Open Graph for additional settings.
Twitter Cards
A flag to render open twitter cards template. See Twitter Cards for additional settings.