index.md orphaned
#72
Closed
opened 3 years ago by are0h
·
2 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. 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.