Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/beaver-notes/beaver-blog
Beaver's Official Blog
https://github.com/beaver-notes/beaver-blog
blog github-pages jekyll
Last synced: 21 days ago
JSON representation
Beaver's Official Blog
- Host: GitHub
- URL: https://github.com/beaver-notes/beaver-blog
- Owner: Beaver-Notes
- License: mit
- Created: 2024-06-08T17:14:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T19:05:20.000Z (7 months ago)
- Last Synced: 2024-11-01T18:24:53.026Z (2 months ago)
- Topics: blog, github-pages, jekyll
- Language: SCSS
- Homepage: https://beaver-notes.github.io/Beaver-Blog/
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Tale
[![Gem Version](https://badge.fury.io/rb/tale.svg)](https://badge.fury.io/rb/tale)
Tale is a minimal Jekyll theme curated for storytellers. Checkout the demo [here](https://chesterhow.github.io/tale/).
![Tale screenshot](http://i.imgur.com/pXZrtmo.png)
## Features
- Easy installation
- 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
- Sticky posts
- Tags
- Excerpt management
- [Disqus comments (can be enabled if needed)](#enabling-comments)## Installation
There are 3 ways to install this theme1. Install it as a Ruby Gem (for self-hosted sites)
2. Install it with the `jekyll-remote-theme` plugin (for GitHub Pages hosted sites)
3. Fork the project directly### Ruby Gem method
1. Add this line to your `Gemfile`:```ruby
gem "tale"
```2. Install the theme's gems and dependencies:
```bash
$ bundle
```3. In `_config.yml` add these lines:
```yaml
theme: talepermalink: /:year-:month-:day/:title
paginate: 5
```Remove any other `theme:` lines.
4. Rename `index.md` to `index.html`. Without this, the `jekyll-paginate` gem will not work.
5. In `about.md`, change the `layout:` field to `post`:
```Markdown
layout: post
```### GitHub Pages method
1. Add these 2 lines in to your `Gemfile`:```ruby
gem "jekyll-remote-theme"
gem "jekyll-paginate"
```2. Install the newly added gems:
```bash
$ bundle
```3. In `_config.yml` add these lines:
```yaml
remote_theme: chesterhow/talepermalink: /:year-:month-:day/:title
paginate: 5plugins:
- jekyll-paginate
- jekyll-remote-theme
```Remove any other `theme:` or `remote_theme:` lines.
4. Rename `index.md` to `index.html`. Without this, the `jekyll-paginate` gem will not work.
5. In `about.md`, change the `layout:` field to `post`:
```Markdown
layout: post
```### Fork method
1. Fork this repository2. Delete the unnecessary files/folders: `CODE_OF_CONDUCT.md`, `LICENSE`, `README.md`, `tale.gemspec`
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
```And you're all set! Head over to http://127.0.0.1:4000/ to see your site in action.
### Enabling Comments
Comments are disabled by default. To enable them, look for the following line in `_config.yml` and change `jekyll-tale` to your site's Disqus id.```yml
disqus: jekyll-tale
```Next, add `comments: true` to the YAML front matter of the posts which you would like to enable comments for.
## Contributing
Found a bug or have a suggestion? Feel free to create an issue or make a pull request!## License
See [LICENSE](https://github.com/chesterhow/tale/blob/master/LICENSE)