disqusShortname = "YOURSHORTNAME"googleAnalytics = "UA-1234567890"# or "G-xxxxxxxx" in Google Analytics v4, in hugo v0.82+[params]
description = """
Tokiwa-iro is the theme color of this site.
"""math = true# for introducing $KaTEX$env = "production"# for Google Analytics and DISQUS.useChineseFonts = true# for font Noto Serif etc.bannerFont = "fonts/exampleFont"# custom your own font for the title.postDateFormat = "2006-1-2"# override custom date format posts.[menu]
# Shown in the side menu. [[menu.main]]
name = "Posts"weight = 1identifier = "post"url = "/post/" [[menu.main]]
name = "Tags"url = "/tags/"weight = 2[social]
A complete config.toml example is in the exampleSite folder.
Dev this theme
Install node modules
Unminified development build with sourcemaps
npm run dev
Fonts. 杨任东竹石体 was used for the banner in the beginning. This font is okay for commercial usage. However, I wonder if it is compatible with GPL MIT, so I replaced it with an exampleFont in the exampleSite. See config.toml.