Make your Digital Garden IndieWeb-ready

After you have set up your Digital Garden and maybe customized your content, now it's time to add some IndieWeb features.

How to set up IndieAuth

To set up IndieAuth, it is necessary to include rel="me" links in the website header. The Digital Garden template can be customized using Custom Components. For this purpose, use the namespace index for the homepage and the slot head to insert information into the HEAD. The necessary files must be placed under src/site/_includes/components/user/<namespace>/<slot>/<filename>.njk. Specifically, for the IndieAuth header, the file should be located at src/site/_includes/components/user/index/head/indieauth.njk.

<!-- enable IndieAuth to use GitHub-->
<a href="https://github.com/egoexpress" rel="me"></a>

Add an h-card to your site

To add an h-card to your site, you need to include h-card attributes on the homepage. These should be placed in the file src/site/_includes/components/user/index/header/hcard.njk. You can find an overview of attributes on microformats.org. Validation can be performed on indiewebify.me.