I’m looking to get my site onto hugo. Here’s the layout I’m looking for:
/ -> Home page
/ashic/blog -> List of all RegularPages
/ashic/blog/yyyy/mm/slug -> blog post
The file layout I have is:
It seems it renders a list for /ashic, but /ashic/blog, /ashic/blog/2017 etc. fails. How can I say render home page, but for all blog stuff, the url should be /ashic/blog instead of just /ashic, or just /blog?
Thanks for the response. Yeah, I found that too… And tried the following:
with a permalink:
“blog” = “/ashic/blog/:year/:month/:slug”
But the “section” page, as you say, appears under /blog, and not under /ashic/blog. I tried to name the section “ashic”, and then the list appears under /ashic, and not /ashic/blog. I was wondering if there’s some trick with _index.md that would allow me to render a page at /ashic/blog.