A Hugo theme for the independent web.
- Perfectly parsed by readers with microformats2 support: h-card, h-feed, h-entry
- Webmention rendering and built-in support via Webmention.io
- POSSE support via Bridgy
- IndieAuth built in (see head.html for supported links -- submit a PR to add one!)
If you're like, (☉_☉) "What do all these funny words mean?" Don't worry! Read the explainer.
If you are new to the Hugo framework, fret not! It's a very popular and friendly static site generator. Check out the quickstart to create your site, then:
- Add this theme to your site
- Update your
config.{toml, yaml, json}
- Join the IndieWeb community with your own independent site!
To add this theme to your Hugo site, run this from the root directory:
git submodule add https://github.com/dianoetic/indiefeed.git themes/indiefeed
Copy the example configuration file to your root directory and update settings as needed.
Be sure to replace each example
or example.com
with your own domain!
Add some content and deploy your site! You can deploy automatically with any of these:
- GitHub Actions (there's one included!) to GitHub Pages
- GitLab Pages
- Netlify
- ...or on your own server!
Once your site is deployed, you may also like to:
- Set up your Webmentions by signing in with IndieAuth at Webmention.io
- Learn about POSSE and sign into Bridgy
- Come say hello to the folks hanging out at IndieWebCamp and introduce yourself (and your website)!
IndieFeed will conditionally display aspects of posts depending on the category you put in your front matter:
note
: no title displayedreply
: displays title, reply icon, and includes reply markup for h-entry- Anything else: displays title
Serve your site locally using Hugo's development server: hugo server
. See Hugo server docs for options.
Validate your h-card with IndieWebify.me.
Preview your h-feed with Monocle's preview tool.
Alternative feeds (custom output formats) can be configured in config.yaml
. See the example configuration for... well, examples.
Atom and RSS can be validated with the W3C Feed Validation Service.
Add your own CSS styles with the following setting in your config.{toml, yaml, json}
:
params:
customCSS: css/style.css # relative to ./static/
Any CSS in ./static/css/style.css
will override theme defaults.
Choose a syntax highlighting theme with this setting:
markup:
highlight:
style: dracula
You can also override any templates by placing replacements with the same names in your ./layouts/
directory.
Yes! All the things! ヽ(*^▽^)ノ