Skip to content

File naming in _posts directory

jueyang edited this page Feb 4, 2013 · 1 revision

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/.

All the posts in the [_posts] directory 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 starts with 0200

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 lastest 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.