Skip to content

Latest commit

 

History

History
147 lines (123 loc) · 3.39 KB

about.md

File metadata and controls

147 lines (123 loc) · 3.39 KB
layout title permalink
page
About
/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 <code class="highlighter-rouge">_posts</code> folder.<br>
  - Name the file according to the format YY-MM-DD-[short name for your post].<br>  <code>2016-03-30-i-love-design.markdown</code><br>
  - Write the <a href="jekyll">Front Matter</a> and content in the file.<br>
  <div class="example">
    <span class='manual'>FORMAT</span><BR>
    <pre>---

layout: post | default | page title: String Post Title date: Time Stamp categories: String | Array of Strings Category / Categories ---

  </div>
  <div class="example">

    <pre>---

layout: post title: "The One with the Blackout" date: 2016-03-30 19:45:31 +0530 categories: ["life", "friends"] ---

  </div>


Create Pages

  - Create a .md file in the root directory.<br>
  - Name the file with the desired page link name.<br>  <code>about.md</code><br><code>design.md</code><br>
  - Write the <a href="jekyll">Front Matter</a> and content in the file.
  <div class="example">
    <span class='manual'>FORMAT</span><BR>
    <pre>---

layout: page title: String Title of the webpage permalink: / String / Permalink for the webpage tagline: String Optional Gravity Feature : Tagline for the page ---

  </div>
  <div class="example">

    <pre>---

layout: page title: "Science" permalink: /science/ tagline : "Humanity is overrated." ---

  </div>


Create Archives/ Category Pages

Introducing Archive Pages.

You can display a list of all the post corresponding to a particular category on a standalone Page using the 'archive' layout.

  - Create a .md file in the root directory.<br>
  - Name the file. Preferred name will be the name of the category<br>  <code>life.md</code><br>
  - Write the <a href="jekyll">Front Matter</a> and content in the file.
  <div class="example">
    <span class='manual'>FORMAT</span><BR>
<pre>---

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

  </div>
  <div class="example">

    <pre>---

layout: archive title: "Design" permalink : "Design" category: "design" tagline: "It's all about perception." ---

</div><br>