Open Jared-Sprague opened 1 year ago
Related: #840
NOTE: the use case for this is for an SSI include e.g.:
<!--#include virtual="/includes/head.html" -->
Which to me looks cleaner than:
<!--#include virtual="/includes/head/index.html" -->
Especially since this is never ment to be accessed directly in a browser, so the "clean" url concept does not apply here. In fact I would argue that in code it's actually cleaner to not use the index.html in the include tag.
Hello!
Is there a way to generate files that are not named "index.html"? I want to generate a file at
/includes/head.html
instead zola generates a file at:/includes/head.html/index.html
Is there a way to tell zola to generate a file at a specific path and name it something other than index.html?Here is what is in my
content/
directory:And the markdown for
head.md
looks like this:And the end result after the site has been generated in
public/
looks like this:I want it to look like this:
Thanks!