colortheme = "white"# dark, light, white, or classic
css = ["css/custom.css"]
You can add multiple custom stylesheets which will be loaded after the main theme css.
For example, the above line will load the CSS-file placed at /static/css/custom.css.
# Main menu which appears below site header.
name = "Home"url = "/"weight = 1
name = "All posts"url = "/posts"weight = 2
name = "Tags"url = "/tags"weight = 3
name = "About"url = "/about"weight = 4
description: description will be displayed in the homepage.
description = "Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content. Since websites are viewed far more often than they are edited, Hugo is designed to provide an optimal viewing experience for your website’s end users and an ideal writing experience for website authors."
set your main section (used as the link for the “writings” title on the homepage)
Projects section will not be shown if no data file detecSee Projects list below.
Create your projects data file data/projects.yaml|toml|json. Hugo support yaml, toml and json formats.
for former hexo cactus users: please assign your json array to a list key.
for example, data/projects.json:
"desc":"A fast, simple & powerful blog framework"
"desc":"The iconic font and CSS toolkit"
Social media links
name = "github"link = "https://github.com/monkeyWzr"
name = "email"link = "email@example.com"# no need for "mailto:" at the start
name = "linkedin"link = "https://www.linkedin.com/in/monkeywzr/"
Cactus uses hugo’s bulit in analytics templates
Add you tracking id in your site config. By default cactus uses synchronous tracking code. You can switch to asynchronous tracking by set googleAnalyticsAsync to true.
googleAnalytics = "UA-123-45"googleAnalyticsAsync = true# not required
The rss feed is not generated by default. you can enable it in your site config:
rss = true
The rss link will be https://example.com/index.xml assuming your baseURL is set to https://example.com/