2025-08-20 Next »
2025-08-22
2025-08-21
Just always use .Permalink
okay
@randomgeek fyi, the
content:encoded
field of your rss feed has relative links and image urls, while the description feed has absolute links.
Now I remember why I got into the habit of always using .Permalink
instead of .RelPermalink
in Hugo. .Permalink
includes host portion—https://randomgeekery.org/note/2025-08-21/
—which is helpful in contexts like RSS feed generation. .RelPermalink
gives a server-relative path like /note/2025-08-21/
.
Haven’t really thought about it for a while, so I forgot why and eventually forgot the habit.