This theme was created with privacy in mind. By default, Disqus and Google Analytics are disabled, but you are free to use them, if you want. Instead this theme comes with configuration options for Isso and umami.
Make sure to install postcss-cli and autoprefixer globally in your environment, as Hugo Pipe’s PostCSS requires it. This is mentioned in the Hugo Docs.
Make sure to use a minimum Hugo version of v0.69.0 and above.
Set the writeStats option in your Hugo config file, so that purging of CSS classes works in production. See /exampleSite/config.toml as a guideline.
writeStats = true
For a new site
# Create a new sitehugo new site my-site
# Change into your themes foldercd my-site/themes
# Clone this themegit clone https://github.com/chringel21/chringel-hugo-theme.git
# Change into your new theme's folder and install dependenciescd chringel && npm install
Don’t forget to edit your config.toml to use your new theme
# config.tomltheme = "chringel-hugo-theme"
Create a new post
Included is an archetype to help you get started with creating content. It’s a post bundle. Create it with:
hugo new --kind post-bundle post/my-post
Create a new note
If you want to dive into the IndieWeb, chances are you want to create notes. They are like tweets/toots/status updates, or can contain comments, likes and reposts. Take a look at the archetype. I would recommend creating notes like this:
hugo new notes/`date +'%Y/%m/%d/%H%M'`.md
This will create a note in your content folder at content/notes/YYYY/mm/dd/HHMM.md.
🌝 /🌚 Automatic dark mode based on device setting
💬 Isso commenting server similar to Disqus (self-hosted)
📈 umami - simple, easy to use, web analytics solution (self-hosted)
🐦 SVG (social) icons powered by ionicons, currently Twitter, Github, Mastodon and RSS are available, but more can be downloaded with a simple shell script