No release in over a year
A fresh Jekyll theme.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.5, < 5.0
 Project Readme

jekyll-theme-lily

Gem Version Gem

Lily is a fresh Jekyll theme based on Beercss. You can preview the theme to see what it looks like, or directly use it.

BREAKING CHANGES

  • Due to breaking changes of Beercss 3.0, you need to divide rem unit by 16 and multiply px unit by 16 if you have custom css with rem or px units and update jekyll-theme-lily from 2.2 or below to 3.0 or above ( view details )

Installation

Add this line to your Jekyll site's Gemfile:

gem "jekyll-theme-lily"

And add this line to your Jekyll site's _config.yml:

theme: jekyll-theme-lily

And then execute:

$ bundle

Or install it yourself as:

$ gem install jekyll-theme-lily

Usage

To directly use the Lily theme:

  1. Add the following to your site's _config.yml:

    remote_theme: HowerZiu/jekyll-theme-lily@3.0.3.1.3
    plugins:
    - jekyll-remote-theme # add this line to the plugins list if you already have one
  2. Optionally, if you'd like to preview your site on your computer, add the following to your site's Gemfile:

    gem "github-pages", group: :jekyll_plugins

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/HowerZiu/jekyll-theme-lily. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, _sass and assets tracked with Git will be bundled. To add a custom directory to your theme-gem, please edit the regexp in jekyll-theme-lily.gemspec accordingly.

License

The theme is available as open source under the terms of the MIT License.