Closed lenymo closed 4 years ago
First attempt here: https://github.com/lenymo/glennmccomb-com/commit/103fb9c11e661336a089b3ece460c24a2865c870
This is dedicated to just the photography section. Don't want to customise existing articles RSS (not that it's being used anywhere).
Here's an IFTTT example of tweeting with an image when an RSS feed udpates: https://ifttt.com/applets/267356p/edit
It appears my RSS feed got blacklisted for spamming Twitter with all of my photos as tweets at the same time. Eventually, the IFTTT trigger started working and is now functional. Pro tip: when setting up a trigger like this, it's much better if you don't already have a ton of posts.
Hugo has RSS out of the box but it doesn't include images or any post metadata besides date, title and description (the body of a
.md
file). Hugo's RSS documentation isn't overly helpful, but I found this article to be very helpful. The author appears to be the developer of the popular Hugo Academic theme, which has an example of a customised RSS feed. The article also includes links to various Hugo discourse threads.