Skip to main content
  1. Posts/

Welcome to Hero

·1 min· ·
Author
Neo Wang
Writing about things I build and learn.
Table of Contents

This is a sample post. Delete it once you have real content.

Where the look-and-feel lives
#

What you want to changeFile to edit
Colours, dark mode, header/footer style, homepage layoutconfig/_default/params.toml
Site title, author name/avatar/social linksconfig/_default/languages.en.toml
Navigation menusconfig/_default/menus.en.toml
Code highlighting, TOC depthconfig/_default/markup.toml
Free-form CSS tweaksassets/css/custom.css

Code blocks
#

Syntax highlighting and the copy button come from markup.toml + enableCodeCopy in params.toml:

func main() {
    fmt.Println("Hello, Blowfish!")
}

Per-post appearance
#

Any [article] option from params.toml can be overridden per post in the front matter — for example showHero, heroStyle, or showTableOfContents. To give a post a hero/thumbnail image, drop a file named featured.* (e.g. featured.jpg) into the post’s folder next to index.md.