Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.05 KB

This website uses Hugo and a heavily customized fork of colorchestra's smol theme.

Documented extensions

config.toml

[params]
# Enable temporal banner for various important events
enableTemporal = true # bool

# Enable giscus
giscusRepo = "darenliang/darenliang.com" # str
giscusRepoId = "MDEwOlJlcG9zaXRvcnkyMTEzNjc4MDI=" # str

# Custom message for people that disable JavaScript when
# counting is enabled
noJS = "JS is not enabled" # str

# Show dates on post, good for pages that shouldn't dates
showDatesOnPosts = "2006-01-02" # str

# Add custom CSS
# This is present in the original smol theme, but is undocumented
customCss = [] # [str]

Post header format

title: str
date: str
showthedate: bool
nocomments: bool

Script shortcode

A suffix is appended to the script path to refresh cache

{{< script "script-path.js" >}}

License

MIT