I'm so happy Sequoia was published today; I was just thinking about integrating standard.site to my blog, this is perfect timing! Thanks!
I've come across a few issues, and I wanted to check whether they're "real" or my poor configuration, and offer help to fix if needed.
Here's a post of mine:
Issues#
-
Subdirectories
This markdown file is stored at
40th-puzzle-box/what-a-gift/index.md(inside thecontent/postsdir I've configured ascontentDirwith Sequoia) but the AT record haspath: "/posts/index"— Sequoia has missed two layers of subdirectory there. Can I enable subdirectory support? -
Hidden 'index' docs
Hugo allows us to use
index.mdfiles within a folder to allow keeping assets in the same dir (like I have here) — but Sequoia isn't aware of this, so is incorrectly guessing thecanonicalUrlashttps://www.byjp.me/posts/index, instead ofhttps://www.byjp.me/posts/40th-puzzle-box/what-a-gift/. How do I configure the removal of/indexURL suffixes? -
Using post summary as textContent
My posts make heavy use of Hugo shortcodes, (they
{{< look like this >}}), there's no reasonable way Sequoia could parse them, but I had assumed that it would pull the summary instead (as I thought I'd configured that). Can I configure Sequoia to use my summary astextContent, instead of the markdown body?
Thanks again, please let me know where I can help!
Hey JP! Thank you so much for trying out Sequoia and for opening this issue; amazing details!! 🔥 Definitely not an issue on your part with the config; these are gaps in Sequoia I missed since I was testing with simpler blog setups. However all of these seem fixable!
I definitely need to find a better solution for this as right now my construction is a bit simple. There's probably a better way to grab the slug/path of a post instead of what I'm doing now, which is just combining the path prefix from the config with the post path.
I think this is tied to number 1 due to how I'm currently constructing the pieces:
I believe once we figure out what happens with subdirectories in issue 1, we can figure out what to do with issue 2. Likely will be a simple trim if it exists but curious to see what happens!
summaryfor the postdescription, but what we really need is another field fortextContentthat you can configure to be something other than the contents of the markdown, like thesummaryfrontmatter field. No problem at all!I'll try some experimenting with all of these over the weekend, if you happen to have time to test yourself please let me know what you find along the way. Once again thanks for your support! 🙏