index.md orphaned #72

Closed
opened 3 years ago by are0h · 2 comments
are0h commented 3 years ago (Migrated from koodu.ubiqueros.com)

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:

layout: page-custom
deleted: false

where the index.md file has these:

layout: index
deleted: 

Edit: As a workaround I've managed to avoid orphaning the index file by using another editor, then having Fipamo render it.

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: ``` layout: page-custom deleted: false ``` where the index.md file has these: ``` layout: index deleted: ``` Edit: As a workaround I've managed to avoid orphaning the index file by using another editor, then having Fipamo render it.
are0h commented 3 years ago (Migrated from koodu.ubiqueros.com)

Hm, yeah. There should be a method that's specific for rendering index pages. As you discovered, custom layouts are just intended for pages.

Hm, yeah. There should be a method that's specific for rendering index pages. As you discovered, custom layouts are just intended for pages.
are0h commented 3 years ago (Migrated from koodu.ubiqueros.com)

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.

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.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: are0h/Fipamo#72
Loading…
There is no content yet.