A base starter kit for developing Tumblr themes.
- Node.js (>= 0.10)
- Grunt -
npm install -g grunt-cli
- Tumblr Theme Parser -
npm install -g tumblr-theme-parser
$ git clone https://github.com/resir014/Tumblr-Boilerplate.git $ cd Tumblr-Boilerplate $ npm install
Tumblr Boilerplate containa base starter theme with most of the stuff included in the themes documentation, which you can build on top of your Tumblr themes.
Tumblr Boilerplate comes with a built-in theme parser, complete with a JSON-based dummy content that will be used to compile the theme files into a rough representation of what the theme would look like if it were loaded as a Tumblr theme.
This tool utilises the
tumblr-theme-parser package, and is invoked through the
# Generates a sample homepage. $ grunt build:page # Generates a sample permalink page. $ grunt build:permalink
Tumblr Boilerplate also comes with
grunt-jsonlint, a plugin that helps you validate your JSON data, if you want to tweak your dummy content a bit.
# Runs a validation of the JSON files. $ grunt test
Released under the MIT license.