Norvell's Public Machinations
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

roots-tumblr

0.0.5 • Public • Published

Roots Tumblr

npm tests dependencies devDependencies

This is an extension to make building Tumblr themes easier, or make it easier to take Tumblr themes and use them outside of Tumblr. It's basically a wrapper around tumblr-theme-parser.

Installation

  • ensure you are in a roots project directory
  • npm install roots-tumblr --save

Usage

To use the default tumblr json export:

# app.coffee 
tumblr = require 'roots-tumblr'
 
module.exports =
  extensions: [tumblr()]

To use a custom tumblr json export:

  • login to tumblr and go to the URL https://www.tumblr.com/customize_api/demo_content/YOURBLOGNAME
  • Save JSON that's returned in a file like ./tumblr-demo-content.json.
# app.coffee 
tumblr = require 'roots-tumblr'
tumblrDemoContent = require './tumblr-content'
 
module.exports =
  ignores: ['tumblr-demo-content.json']
  extensions: [tumblr(tumblrDemoContent)]

License & Contributing

install

npm i roots-tumblr

Downloadsweekly downloads

1

version

0.0.5

license

GPLv3

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability