statiqdev / CleanBlog

A blogging theme for Statiq Web.
MIT License
53 stars 25 forks source link

Update PostSources to support one level of dir in controller by default #14

Closed atiq-cs closed 2 years ago

atiq-cs commented 2 years ago

This is a most commonly used setting. It should be enabled by default for convenience if we may.

to support post URLs like,

support /posts/year, for example,

https://blog.corp.com/posts/2011/post-title.html

support /posts/category, for example,

https://blog.corp.com/posts/algorithm/algo-post-title.html

Otherwise, we have to fork theme submodule to make this small change to support mentioned use cases of URL.

Test of the template,

image

To the contributors, owners and maintainers, thank you for this awesome project :)

atiq-cs commented 2 years ago

@daveaglick what are your thoughts on this?

daveaglick commented 2 years ago

Love this change! Small and powerful, nicely done.