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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Blog posts and structure of the Elao's Blog
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"
}]
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"
]
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:
The post meta file contains information about the associated blog post.
The metas are like this:
Meta | Description |
---|---|
_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"
}