A Jekyll theme built with Google's Polymer library and following the material design specifications. (Currently, this uses Polymer 1.x, but I have plans to update to 2.x.)
There are a few custom web components included designed to match Material design.
I created this theme because I couldn't figure out how to set up a Jekyll project to play nicely with Polymer, and because I didn't find any Jekyll blog themes available that used Polymer or followed Google's material design specifications.
(Instructions are based off of those for the Polymer Starter Kit.)
bundle install
. (Prerequisite: must have Ruby installed; in Ubuntu/Debian, use sudo apt-get install ruby-dev
. You may also have to install bundler with gem install bundler
.)npm install -g gulp bower && npm install && bower install
. (See the old Polymer Starter Kit installation instructions for more details or troubleshooting.)app/
: All Jekyll content is here. (This is where all the editing happens)bower_components
: Content installed via bower ends up hereelements/
: Custom web components using Polymerimages/
: User imagesmedia/
: Other user content (PDFs, videos, etc.) for final productscripts/
: Javascript filesstyles/
: Custom CSS_data/authors.yml
: List of authors for posts and pagesdist/
: Built output from Gulp. (Use to publish static content)node_modules
: Content installed via npm goes heregulp serve
: Starts a jekyll serve process on the default port (4000 or whatever is specified in _config.yml
).
gulp serve --port 6666
: Start serving on port 6666
gulp serve:dist
: Build as below, and serve the result from the dist/
directory. (Useful for testing changes to the gulpfile. Currently does not work with a Jekyll baseurl configured.)
gulp
: Builds the files with jekyll, vulcanizes, minimizes, and puts the result in the dist/
directory. (This can be slow.)
gulp deploy-gh-pages
: Deploy the current build to the gh-pages branch of your repository.
gulp build-deploy-gh-pages
: Rebuild and then deploy. (Equivalent to gulp && gulp deploy-gh-pages
)