liqin1059 / materialize-jekyll

Jekyll theme based on materialize.

Home Page:https://blog.lazcat.xyz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Materialize - jekyll

Introducton

This jekyll theme is based on materialize. (NOTE: this theme is only made for my own, but you can modify it freely.)

Open demo

Getting start

Install

You may need some dev headers, for debian/linux, just run:

# apt-get install liblzma-dev zlib1g-dev

(Other dependencies may also needed.)

$ git clone https://github.com/mumuxme/materialize-jekyll
$ cd materialize-jekyll
$ bundle install

Run

  1. Modify _config.yml, about.md and other(whatever you need).
  2. You can add a favicon.ico file in the project root directory.
  3. If you want to use google analytics, add your google-analytics.js into js directory.

Then:

$ bundle exec jekyll s

# or start with draft
$ bundle exec jekyll s --drafts

Or start with docker

cd materialize-jekyll

# export GEM_MIRROR=mirror.https://rubygems.org
export GEM_MIRROR='Your-ruby-gem-mirror'

make build
make run

Other

Emoji

You can use GitHub-flavored emoji. See emoji cheat sheet

TODO

  • Add comment. (???)
  • Add options to choose self host or cdn.

License

GNU GPL v3.

Others:

About

Jekyll theme based on materialize.

https://blog.lazcat.xyz/

License:GNU General Public License v3.0


Languages

Language:CSS 68.0%Language:HTML 26.1%Language:Ruby 3.6%Language:JavaScript 2.0%Language:Shell 0.1%Language:Makefile 0.1%