index.md orphaned #72
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I did a few edits to the Index file, messed with the Layouts drop-down, saved and rendered, and now Dashboard will not recognise or render index.md. Edits done to it will not render, and renaming index.html and rendering will not result in a new one being generated.
Instead Fipamo will think it's just another article. I checked the MD files and the only difference between them is that the "article" has these tags:
where the index.md file has these:
Edit: As a workaround I've managed to avoid orphaning the index file by using another editor, then having Fipamo render it.
Hm, yeah. There should be a method that's specific for rendering index pages. As you discovered, custom layouts are just intended for pages.
Added a method that collects the correct template files based on the layout of the page. Index will look at index templates, and pages will look at page templates. This will be closed when it's confirmed in the
beta
branch.