Page Settings

These values are inside your page’s front-matter.

Layout

Monochrome support different types of layout. You can change the layout of section or regular page according to your needs. Checkout Layout for more details.

Hide Navbar on Scroll

Hide navbar on scroll

---
hide_navbar_on_scroll: true # false
---

default: theme’s hide_navbar_on_scroll

Table of Contents

---
toc: false
---

default: theme’s enable_toc

Collapsible Table of Contents

---
collapsible_toc: false
---

default: theme’s enable_collapsible_toc

Table of Contents Position

---
toc_position: "right" # "top" | "right"
---

default: theme’s toc_position

Changelogs

---
changelogs:
- tag: '20210623'
  description:
  - 'changelog example 1'
  - 'changelog example 2'
- tag: '20210624'
  description:
  - 'changelog example 3'
  - 'changelog example 4'
---

tag and description both support markdown syntax.

default: None

Collapsible Changelogs

---
collapsible_changelogs: false
---

default: theme’s enable_collapsible_changelogs

External library

MathJax

---
math: false
---

default: theme’s enable_math

Zooming.js

---
zooming_js: false
---

default: theme’s enable_zooming_js

Disqus

---
disqus: false
---

default for post page: site’s disqusShortname

default for other pages: false

Google Analytics

---
ga: false
---

default: site’s googleAnalytics

Syntax Highlighting

Chroma

---
code_copy: false
---

default: theme’s enable_code_copy

SEO

Author

---
author: "kaiiiz"
---

default: theme’s author

Description

---
description: "Configuration of hugo-theme-monochrome"
---

default: not generate description meta tag

Keywords

In page front-matter

---
keywords:
- hugo
- hugo theme
- hugo theme monochrome
---

default: not generate keywords meta tag

Open Graph

A flag to render open graph internal template. See Open Graph for additional settings.

---
open_graph: false
---

default: theme’s enable_open_graph

Twitter Cards

A flag to render open twitter cards template. See Twitter Cards for additional settings.

---
twitter_cards: false
---

default: theme’s enable_twitter_cards