Skip to content

parent/child content modelling #1888

Answered by JessChowdhury
Hives asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Hives,

I would recommend using / reading more on the nested docs plugin.

With this plugin, you would create your content structure using just a Pages collection. You would create a Foundation page, add no content. Create a Typography page, and select Foundation as the Parent Page. You can then create pages for Introduction, Patterns etc and assign their Parent Page to Typography.

This plugin will satisfy many of the issues you listed above:

  • Each page will know it's parent / child relations
  • Content is separated out into different documents, so you don't end up with one unwieldy page
  • You'll be able to use the parent / child data to set more readable titles like Foundation > Typography …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@EvanOlsen
Comment options

Answer selected by zubricks
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants