hugo-theme-anubis icon indicating copy to clipboard operation
hugo-theme-anubis copied to clipboard

Webmention/Indieweb support

Open ambroisie opened this issue 4 years ago • 7 comments

It would be great if there was support for webmentions (e.g: https://webmention.io/) and the larger indieweb movement (e.g: https://indiewebify.me)

ambroisie avatar Jan 06 '21 14:01 ambroisie

On my personal blog, I have modified the footer template to add various rel=me links for example (a footer-extra similar to head-extra would be great for this by the way).

ambroisie avatar Jan 06 '21 14:01 ambroisie

Here's the IndieWeb wiki's page on Hugo.

Of note is this guide for the first few steps of indiewebification.

ambroisie avatar Jan 06 '21 14:01 ambroisie

Add header-extra and footer-extra. Also add support for webmentions via config:

params:
  webmentions:
    login: hugo-theme-anubis
    pingback: true

And finally add a note about "rel=me" to #6

Mitrichius avatar Jan 11 '21 18:01 Mitrichius

I think some way to display comments via ping back is possible during the build process by using the API. I found this thread which hinted at a possible solution.

ambroisie avatar Jan 13 '21 14:01 ambroisie

And of course, there's the missing support for microformats which I haven't seen mentionned yet.

Thank you for your work on this theme, I really like it!

ambroisie avatar Jan 13 '21 15:01 ambroisie

Added microformats support. Pingback: I will check thread later.

Mitrichius avatar Jan 20 '21 19:01 Mitrichius

Maybe the config should not ask for a https://webmention.io/ login but for a webmention receive URL to support other webmention services then webmention.io . I think this could be done by changing the config variable from login to url and load the complete url in head.html. I have successfully tested it here: https://github.com/NilsKempen/hugo-theme-anubis/commit/581827ee8ea87f5fd50620e627824370dfadb7ce

thisni1s avatar Feb 23 '21 11:02 thisni1s