Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Rename default.md

Started by Muut Archive 9 years ago · 1 replies · 634 views
9 years ago

Hi,

is it possible to rename the default.md? I have many pages and in every folder there is a default.md. By editing in my text editor i have 10 tabs open with the name of default.md. It is very difficult to work, because i don't know which tab contains my file i want to edit

9 years ago

The names of Markdown-files match the names of templates, so default.md corresponds with default.html.twig, and thus the naming is necessary. I would suggest a different editor like VSCode or Sublime, but they don't always shorten folder-names all that elegantly. However, they do have very elegant sidebars which show which file you are editing within the folder-structure, and allows easy navigation between them.

Though, as each page has FrontMatter at the top which declares the title, that is also a way to differentiate them.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2273 9 years ago
Archive · by Muut Archive, 9 years ago
2 1495 9 years ago
Archive · by Muut Archive, 9 years ago
2 4742 9 years ago
Archive · by Muut Archive, 9 years ago
1 3552 9 years ago
Archive · by Muut Archive, 9 years ago
3 1618 9 years ago