I'm creating a new Distill blog and would like for /posts/
to not appear in the URL. Is there an easy way to achieve this? I don't mind forking the Distill repo if necessary.
In other words, I would like post URLs to appear as follows: https://my-distill-blog.com/my-slug
I realize that posts are initially created within the _posts
directory, and upon building are copied to the _site/posts/
directory, which makes total sense. I'm just wondering if there's an easy way to modify this behavior?
I've poked around in the source file distill/R/create.R
, and it looks like the behavior I'm describing goes even deeper into perhaps rmarkdown::render()
territory but I'm getting a bit lost.
Thanks!