Kiss is a minimalist Jekyll theme for personal blogs with KISS principle applied.
remote_theme: ayltai/kiss
in your Gemfile
._data/settings.yml
and customize as you need.index.html
that uses home
layout.feed.xml
that uses feed
layout._posts
folder.kiss/
├─ _data/ # Data files go here
| └- settings.yml # Theme settings
├─ _includes/ # Theme includes (Overridable)
├─ _layouts/ # Theme layouts (Overridable)
├─ _posts/ # Your posts go here
├─ assets/ # JS, CSS and images go here
| ├─ css/ # CSS files go here
| | ├─ main.css # CSS for the theme (Overridable)
| | └- syntax.css # CSS for code syntax highlighting (Overridable)
| └- img/ # Images go here
├─ pages/ # Additional pages that shows as menu items go here
| └- about.md # About page
├─ _config.yml # Site settings
├─ 404.html # Page to be display when requested URL does not exist (Overridable)
├─ feed.xml # For generating RSS 2.0 feed
├─ Gemfile # Ruby Gemfile
└- index.html # Home page
More information about these file structure can be found in Jekyll documentation.
Copy _config.yml
and change the site variables:
# Site settings
title : # Name of the website
description : # Subtitle of the website
author : # Default post author name
More information about site configuration can be found in Jekyll documentation.
Copy _data/settings.yml
and change the theme variables:
favicon : # The favicon of the website
menu: # Menu item array
- { name : 'Home' }
- { name : 'About', path : 'pages', url : 'about.html' }
authors: # Post author array
- { name : 'Alan Tai', url : 'https://www.linkedin.com/in/ayltai' }
social: # FontAwesome icons linked to external websites; to be shown in footer
- { icon : 'github', url : 'https://github.com/ayltai' }
- { icon : 'linkedin', url : 'https://github.com/ayltai' }
- { icon : 'rss-square', url : '/feed.xml' }
pagination:
previous : # Label that represents "older posts"
next : # Label that represents "newer posts"
You need to create an index.html
file as your home page with at least the following content:
---
layout : home
---
If you want to support RSS feed for your website, you need to create feed.xml
file with at least the following content:
---
layout : feed
---
You can follow the Jekyll documentation on how to create posts.
If you want to show the About page somewhere on your website, you can show it using the menu.
Copy _data/settings.yml
and change the theme variables:
menu:
- { name : 'Home' } # Home page, the path is [Base URL]
- { name : 'About', path : 'pages', url : 'about.html' } # About page, the path is [Base URL]/pages/about.html
This theme supports comments at the end of posts through Disqus. You need to have a Disqus account and set your Disqus shortname in _data/settings.yml
:
disqus:
shortname : # Your Disqus shortname
If you want to disable Disqus comments, just don't add disqus
section in _data/settings.yml
.
This theme supports Google Analytics. You need to have a Google Analytics and set your tracking ID in _data/settings.yml
:
google:
analytics : #UA-XXXXXXXXX-1
If you want to disable Google Analytics, just don't add google
section in _data/settings.yml
.