Elao/tech-blog

Name: tech-blog

Owner: Elao

Description: Blog posts and structure of the Elao's Blog (http://www.elao.com/blog)

Created: 2014-10-01 09:53:18.0

Updated: 2014-10-01 09:53:18.0

Pushed: 2015-06-26 12:33:53.0

Homepage: null

Size: 22981

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Elao blog data

Blog posts and structure of the Elao's Blog

Users file:

Must be at the root of the repo and named users.json

Example of users.json file:

[{
    "name":  "Vincent",
    "slug":  "vincent",
    "email": "vincent.bouzeran@elao.com"
},{
    "name":  "Guewen",
    "slug":  "guewen",
    "email": "guewen.faivre@elao.com"
}]
Tags file:

Must be at the root of the repo and be named tags.json It contains the allowed tags used in posts. If a post use a tag not referenced in these file, the tag will be ignored.

Example of tags.json file:

[
    "Symfony2",
    "HTML/CSS",
    "Webdesign",
    "Framework",
    "Osef"
]
Posts file:

The post files must be placed in the /posts folder. Each post must have two file: a markwon

For each post, you need to have 2 files in the /posts folder

The two files must have the same name except the extension.

Example:

If your post is named “mysuperblogpost”, you must have these two files in the /posts folder:

Post meta file

The post meta file contains information about the associated blog post.

The metas are like this:

MetaDescription
_slug_ \*The post's slug (used to identify the post. Must be unique among all posts)
_title_ \*The post's title
_tags_List of post's tag (must be reference by name of tags contains in the tags's file)
_status_ \*The post's status ("published", "draft")
_publish_by_ \*The publisher of the post (must be the reference of a user contains in the users's file either by email or slug)
_publish_at_ \*A date (any format supported by Moment.js)
_meta_title_The html meta title of the post
_meta_description_The html meta description of the post

* indicate required metas

Example of a post meta file:

{
    "tags":                 ["Symfony2", "Toto", "Titi"],
    "title":                "Imported post in ghost",
    "slug":                 "imported-post-in-ghost",
    "status":               "published",
    "meta_title":           "Imported post in ghost",
    "meta_description":     "An imported post into ghost description",
    "publish_by":"          vincent.bouzeran@elao.com",
    "publish_at":           "2014-07-06"
}

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.