Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Use simple page.md instead of folders

Started by Raphael J 9 years ago · 1 replies · 794 views
9 years ago

Hi,

I have found the same topic in the archive but would like to reopen it :
I am just starting with Grav, I find it awesome, but I am also a bit surprised that there is no way to use both :
Most of the times, one only need text (especially for blogs) with no image attached.
In that case, a flat structure of 01.blog-post.md, 02.another-post.md, ... etc would be much simpler and straightforward.

Is it that much complicated to have page.md appear as page/template.md to Grav ?

8 years ago

hi raphj,

i am still new to grav and perhaps i am not entitled to comment this suggestion, but for my part this is nothing that worries me.
for my part it is still reasonable to name a folder by the slug (or numbered.slug) and the markdown.md after the template that is used.
Otherwise you would have to add these informations in the frontmatter - in wich case, you would have to open the file to know, what it is about.

I like it the way it works currently

just my 2 cent

regards

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 6 days ago
0 110 6 days ago
General · by lynbor, 1 month ago
3 438 2 weeks ago
General · by lynbor, 3 weeks ago
7 561 2 weeks ago
General · by Harry, 2 weeks ago
0 161 2 weeks ago
General · by Old Man Umby, 1 month ago
2 309 3 weeks ago