Custom Front Matter

Just wanted to add one comment here on excerpts… For some reason Hugo strips out the <!--more--> tag when the post gets back into the XML / JSON Feed. It doesn’t strip other HTML comments. This matters because we use the feed to populate the timeline, so without the text cut marker, Micro.blog doesn’t know this post has an excerpt.

There are work-arounds, of course. We can pull up the original Markdown for the post and use that to determine the excerpt.

This comes up enough that I would like to solve it. Personally, I don’t think the timeline should be full of summaries, but automatic truncates aren’t good either.

Thanks y’all.

1 Like