funky/README.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2016-06-20 04:54:31 -04:00
# Garth Jekyll Theme
2016-06-15 04:48:01 -04:00
[![Gem Version](https://badge.fury.io/rb/garth-jekyll-theme.svg)](https://badge.fury.io/rb/garth-jekyll-theme)
2016-06-15 04:48:01 -04:00
2016-06-19 14:19:46 -04:00
A stupidly simple theme for Jekyll (3.2), using official Jekyll theme implementation.
![Screenshot](https://raw.githubusercontent.com/daviddarnes/garth-jekyll-theme/master/screenshot.png)
2016-06-20 04:54:31 -04:00
## Installation
2016-07-31 12:48:13 -04:00
1. `$ gem install jekyll`
2. `$ gem install garth-jekyll-theme`
2016-07-29 09:33:14 -04:00
3. Add the following to your config file:
2016-07-31 12:48:13 -04:00
2016-06-19 14:02:00 -04:00
``` yml
2016-06-19 14:00:34 -04:00
# Typical site settings
title: "Website title"
description: "Website description"
2016-07-29 09:33:14 -04:00
logo: https://www.gravatar.com/avatar/6c0377abcf4da91cdd35dea4554b2a4c?s=300 # Provide an avatar/logo
theme: garth-jekyll-theme # Set the theme
2016-06-19 14:00:34 -04:00
```
2016-06-20 08:13:55 -04:00
2016-06-20 08:12:39 -04:00
5. Add the following to your `css/styles.scss` file:
2016-06-20 08:13:55 -04:00
2016-06-20 08:12:39 -04:00
``` css
---
---
@import "theme";
```
2016-07-31 12:48:13 -04:00
2016-06-20 08:12:39 -04:00
6. Add the following to your `js/scripts.js` file:
2016-06-20 08:13:55 -04:00
2016-06-20 08:12:39 -04:00
``` html
---
---
{% include theme.js %}
```
2016-07-31 12:48:13 -04:00
2016-07-29 09:33:14 -04:00
7. `$ jekyll serve --watch`
## Additional notes
There's 3 templates within the theme:
- `front.html`: For blog homepage, you'll need `jekyll-paginate` to paginate posts in your blog
- `page.html`: For pages
- `post.html`: For blog posts