Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

How do you search for your *.md files into your project?

Started by Muut Archive 10 years ago · 3 replies · 380 views
10 years ago

The problem with having all pages under the name default.md or item.md is that it's difficult to look for it inside a project, I'm using Sublime Text or Atom and all my files have the same names. So instead, I tried to rename the *.md files using the name if the folder. Something like:

TXT
01.home/item.md    >    01.home/home.md

but the issue with that, is that if your don't create a home.html.twig inside your templates/ folder, Grav automatically rename it as default.md if you save this page from the Admin UI.

What is your solutions to avoid same names for .md? Or to avoid having all files name with same name as templates duplication?

Thanks

10 years ago

I just use Windows explorer, search for .md, and all Markdown files show up. Drag them all into an editor, and identify them by page.title or path.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1366 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago