About
Gravity
Minimal, text based, liberal Jekyll theme
for sharing your awesome ideas.
Get up and running with Gravity
Posting
- Create a .markdown file inside
- Name the file according to the format YY-MM-DD-[short name for your post].
- Write the Front Matter and content in the file.
_posts
folder.- Name the file according to the format YY-MM-DD-[short name for your post].
2016-03-30-i-love-design.markdown
- Write the Front Matter and content in the file.
FORMAT
--- layout: post | default | page title: String Post Title date: Time Stamp categories: String | Array of Strings Category / Categories ---
--- layout: post title: "The One with the Blackout" date: 2016-03-30 19:45:31 +0530 categories: ["life", "friends"] ---
Create Pages
- Create a .md file in the root directory.
- Name the file with the desired page link name.
- Write the Front Matter and content in the file.
- Name the file with the desired page link name.
about.md
design.md
- Write the Front Matter and content in the file.
FORMAT
--- layout: page title: String Title of the webpage permalink: / String / Permalink for the webpage tagline: String Optional Gravity Feature : Tagline for the page ---
--- layout: page title: "Science" permalink: /science/ tagline : "Humanity is overrated." ---
Create Archives/ Category Pages
Introducing Archive Pages.
'archive'
layout.
- Create a .md file in the root directory.
- Name the file. Preferred name will be the name of the category
- Write the Front Matter and content in the file.
- Name the file. Preferred name will be the name of the category
life.md
- Write the Front Matter and content in the file.
FORMAT
--- layout: archive Archive Page Layout title: String Title of the webpage permalink: / String / Permalink for the webpage tagline: String Tagline for the page category : String Name of the category of which the page will show posts. ---
--- layout: archive title: "Design" permalink : "Design" category: "design" tagline: "It's all about perception." ---