Translates to "A short story per week". A place where I can practice my writting skills.
Based on Square Zero - Dark and Elegant Blog, built by surajk95.
When installing the theme using RubyGems, demo images, posts, and pages are not included. Follow the instructions below for complete setup.
- (Optional) Create a new Jekyll site:
jekyll new my-site - Replace the current theme in your
Gemfilewithgem "jekyll-theme-clean-blog". - Install the theme:
bundle install - Replace the current theme in your
_config.ymlfile withtheme: jekyll-theme-awesome. - Build your site:
bundle exec jekyll serve
Assuming there are no errors and the site is building properly, follow these steps next:
-
Create the following pages if they do not exist already (or change the extension of exsiting markdown files from
.mdto.html):index.html- set tolayout: homeabout.md- set tolayout: pagecontact.html- set tolayout: pageposts/index.html- set tolayout: page(you will also need to create apostsdirectory)
-
Configure the
index.htmlfront matter. Example:
---
layout: home
background: '/PATH_TO_IMAGE'
---
- Configure the
about.md,contact.html, andposts/index.htmlfront matter. Example:
---
layout: page
title: Page Title
description: This is the page description.
background: '/PATH_TO_IMAGE'
---
- For each post in the
_postsdirectory, update the front matter. Example:
---
layout: post
title: "Post Title"
subtitle: "This is the post subtitle."
date: YYYY-MM-DD HH:MM:SS
background: '/PATH_TO_IMAGE'
author: John Doe
comments: true
tags: [children, short]
---
For reference, look at the demo repository to see how the files are set up.
- Build your site:
bundle exec jekyll serve
Code released under the MIT license.