We have following structure for our
content
/content
- /customer
-- /projects
-- project1.md
-- project2.md
- index.md
- /services
- graphic-design.md
- onlinemarketing.md
- 3d.md
- /pages
- contact.md
- imprint.md
- _index.md
and our layouts-folder
/_default
- baseof.html
- single.html
/customer
- single.html
-- /project.html
-- single.html
/services
-- single.html
/page
- kontakt.html
- single.html
/partials
- nav.html
index.html
So you see we use the “template-folder-system” for add the design (.html) to our content (.md).
And if i want to visit the page project1.md i have to use the url: https://mysite.com/customer/projects/project1
Now my 2 Questions:
Is it possible to change the url to something like https://mysite.com/project1 ?
And is there a other way to connect the content (.md) to the design (.html). ?
Maybe a “entry” in the .md file itself:
theme: "/layouts/project-theme.html"
Thanks for your help