Skip to content
André Jaenisch edited this page Jul 10, 2018 · 1 revision

We are basically left with four interesting directories:

  • content - this should only contain the text, which should appear for reading on the website. Its directory structure dictates the URL
  • layout - here we have the homepage (index.html) as well as partials and shortcuts. There is no convention defined yet for the file names and when something should be moved to the theme. Generally speaking the content should be theme agnostic, so it can be presented completely differnt
  • data - if you want to move something out, so other services can consume it, it's a good idea to create a JSON file here
  • static - if you absolutely must (for example, because you have a partial here, which is not meant to be shared), then it may make sense to add CSS and JS files here. Also images go in this directory.
Clone this wiki locally