Hi,
I’m creating an open source shortstories publisher website using Hugo.
You can check my project here: https://github.com/jonathanlinat/deuxmillemots-website
And the associated theme: https://github.com/jonathanlinat/deuxmillemots-theme
I have shortstories written in Markdown located in content/ folder:
content/
scifi/
lastname-firstname_shortstory-title_1.md
lastname-firstname_shortstory-title_2.md
lastname-firstname_shortstory-title_3.md
horror/
lastname-firstname_shortstory-title_1.md
lastname-firstname_shortstory-title_2.md
lastname-firstname_shortstory-title_3.md
thriller/
lastname-firstname_shortstory-title_1.md
lastname-firstname_shortstory-title_2.md
lastname-firstname_shortstory-title_3.md
etc...
…and I have the idea to have a page called “Discover” where I list the shortstories in a specific order.
But, meanwhile, I want to create a page, using a custom HTML template, called “Quickstart”. An other one called “Terms and Conditions”, etc… They are static HTML pages. Maybe one of them will retrieve the content shortstories in a different way…
My first question is: is it necessary to create a Markdown file located in a “quickstart” content/ folder in order to generate the canonical URL?
So my theme has this files/folders structure:
layouts/
_default/
baseof.html
index.html
baseof.html includes all of my basic HTML structure from HTML, HEAD, BODY (header, footer and main). In main DIV, I created a new block named “main” that I define in index.html file.
Could I use this structure in order to create my static pages?
layouts/
_default/
baseof.html
index.html
quickstart.html
termsandconditions.html
discover.html
etc...
I want them to use the _default/baseof.html HTML structure in order to be rendered. Is that possible? If not, what are the best alternatives?