Skip to content

File naming in _posts directory

sandraemma03 edited this page Mar 11, 2015 · 5 revisions

Note: for any content in other language, follow the english posts as a template.

Each language has its own folder in the _posts directory. For bookkeeping, each language should have their own folder. For example, all the English content are in _posts/en/ or for French you could have _posts/fr/xx.

Each section of the site, or category, also has a folder. For example, the chapters in the beginner guide section would be in _posts/en/beginner

All the posts follow the naming scheme: yyyy-mm-dd-name-of-the-post.md

We use yyyy for content differentiation.

  • All the posts that are not a chapter (guide covers, 404 pages) starts with 0100.
  • All beginner chapters start with 0200
  • All editing chapters start with 0400
  • All surveying chapters start with 0500
  • All coordination chapters start with 0600
  • All map-design chapters start with 0700
  • All sys-admin chapters start with 0800

The mm-dd decides the order of the post. The later the date, the earlier the post is in a list. So chapter one has the latest day (0200-12-31-introduction) while the last chapter has the earliest date (0200-12-21-moving-forward). The choice of the month is arbitrary. However, in order to keep it consistent, we will use December dates.