2017-03-27 12:25:56 +00:00
# Tale
2017-03-29 04:55:29 +00:00
Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here ](https://chesterhow.github.io/tale/ ).
2017-03-10 05:20:17 +00:00
2017-03-29 04:55:29 +00:00
![Tale screenshot ](http://i.imgur.com/pXZrtmo.png )
## Features
2018-01-08 12:23:56 +00:00
- Easy installation
2017-03-29 04:55:29 +00:00
- Compatible with GitHub Pages
- Responsive design (looks just as good on mobile)
- Syntax highlighting, with the help of Pygments
- Markdown and HTML text formatting
- Pagination of posts
2018-01-08 12:23:56 +00:00
## Installation
2018-01-08 16:31:18 +00:00
### As a Jekyll theme
2018-01-08 12:23:56 +00:00
1. Add this line to your `Gemfile` :
2017-03-29 04:55:29 +00:00
2018-01-08 12:23:56 +00:00
```ruby
gem "tale"
2017-03-29 04:55:29 +00:00
```
2018-01-08 16:31:18 +00:00
2. In `_config.yml` replace the `minima` theme with `tale` :
2017-03-29 04:55:29 +00:00
2018-01-08 12:23:56 +00:00
```yaml
theme: tale
2017-03-29 04:55:29 +00:00
```
2018-01-08 12:23:56 +00:00
3. Install the theme's gems and dependencies:
2018-01-08 16:31:18 +00:00
```bash
$ bundle
```
4. Rename `index.md` to `index.html` . Without this, the `jekyll-paginate` gem will not work.
5. Add these 2 lines in to `_config.yml` :
```yaml
permalink: /:year-:month-:day/:title
paginate: 5
```
### As a Fork
1. Fork this repository
2018-01-08 12:23:56 +00:00
2018-01-08 16:31:18 +00:00
2. Delete the unnecessary files/folders: `CODE_OF_CONDUCT.md` , `LICENSE` , `README.md` , `tale.gemspec`
2018-01-08 12:23:56 +00:00
2018-01-08 16:31:18 +00:00
3. Delete the `baseurl` line in `_config.yml` :
```yaml
baseurl: "/tale" # delete this line
```
## Usage
Once you've installed the theme, you're ready to work on your Jekyll site. To start off, I would recommend updating `_config.yml` with your site's details.
To build and serve your site, run:
```bash
$ bundle exec jekyll serve
```
2018-01-08 12:23:56 +00:00
2018-01-08 16:31:18 +00:00
And you're all set! Head over to http://127.0.0.1:4000/ to see your site in action.
2017-03-29 04:55:29 +00:00
## Contributing
Found a bug or have a suggestion? Feel free to create an issue or make a pull request!
2017-03-27 12:25:56 +00:00
## License
See [LICENSE ](https://github.com/chesterhow/tale/blob/master/LICENSE )