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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Content & Markdown

Multiplie md (same page type) files in same subdirectory

Started by Chris 9 years ago · 1 replies · 666 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, 8 months ago
6 93 8 months ago
Content & Markdown · by Ton Haarmans, 1 year ago
10 184 1 year ago
Content & Markdown · by Jan L'Am, 1 year ago
4 145 1 year ago
Content & Markdown · by Leonardo, 1 year ago
3 58 1 year ago
Content & Markdown · by belthasar, 1 year ago
4 253 1 year ago