Customize browserconfig.xml and site.webmanifest to set theme-color and background-color for example.
Set production environment when generating site
Because some functions are only in production mode, So you need to add a production environment variables when generating your site.
HUGO_ENV=production hugo --gc --minify
Hugo “extended” Sass/SCSS version required
This theme write style with scss, So you must download and install the “extended” Sass/SCSS version
How to toggle dark-light mode
You can click the love heart ❤️ in front of your blog title to toggle dark-light mode. I don’t think it’s a good interaction design. But I don’t have a good idea.
If you want to make your own theme toggle-able element, you can create an element with a class .theme-switch. See here
Home Post model
If you want to show posts on index instead of a personal profile, just open config.toml in the base of the Hugo site, add the following line to config.toml
home_mode = "post"# post or other
Displaying Featured Image
---date:2018-08-29title:"This One Goes to 11!"description:"With Go 1.11, Hugo finally gets support for variable overwrites in templates!"categories: ["Releases"]