Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Multiplie md (same page type) files in same subdirectory

Started by Chris 9 years ago · 1 replies · 1294 views
9 years ago

Hi, new forum member here.

We would like to use something similar to the Grav Knowledge Base theme to document a project. Some contributors to the project will be using git, and the git-sync-plugin is a really exciting option 😍

The Knowledge Base however, uses one folder + one item.md for each document. We would like to add multiple items under just one folder something like this

TXT
-network (folder)
       building plans.md
       firewall.md
       hardware.md
-servers (folder)
      administration.md
      backups.md
      ...

You get the idea.

Any pointers on how to do this?

Thanks!

9 years ago

Welcome @tuttle!

Perhaps I am missing something... with Grav each page consists of a folder and then a markdown file within it. So, the structure you show could be done but with Grav each of those markdown files would be in a similarly named folder - is this something not workable for a particular reason?

For example, this structure is roughly the same but with Grav you would have each page being a folder + markdown file:
2017-09-13_16-25-54|690x390

On-line demo of the above structure:
http://demo.hibbittsdesign.org/grav-learn2-git-sync/intermediate

Suggested topics

Topic Participants Replies Views Activity
Content & Markdown · by Jochen, 12 months ago
6 1289 12 months ago
Content & Markdown · by Ton Haarmans, 2 years ago
10 1018 1 year ago
Content & Markdown · by Jan L'Am, 2 years ago
4 891 2 years ago
Content & Markdown · by Leonardo, 2 years ago
3 817 2 years ago
Content & Markdown · by belthasar, 2 years ago
4 1234 2 years ago