A base starter kit for developing Tumblr themes.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
scripts
theme
.editorconfig
.gitattributes
.gitignore
.jscsrc
.travis.yml
Gruntfile.js
LICENSE
README.md
package.json

README.md

Tumblr Boilerplate

Build Status

A base starter kit for developing Tumblr themes.

Installation

Requirements

  • Node.js (>= 0.10)
  • Grunt - npm install -g grunt-cli
  • Tumblr Theme Parser - npm install -g tumblr-theme-parser

Installation guide

$ git clone https://github.com/resir014/Tumblr-Boilerplate.git
$ cd Tumblr-Boilerplate
$ npm install

Features

Core features

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.

Local previews

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 grunt command.

# Generates a sample homepage.
$ grunt build:page

# Generates a sample permalink page.
$ grunt build:permalink

JSON validation

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

Components

License

Released under the MIT license.