Skip to content

Latest commit

 

History

History
80 lines (55 loc) · 2.82 KB

README.md

File metadata and controls

80 lines (55 loc) · 2.82 KB

Tumblr Boilerplate

license

A fully functional bare-bones Tumblr theme that works out of the box. Style it to your needs. The goal of the project was to remove uncessary code easing the development process.

Installation

Bower

bower install tumblr-boilerplate

Git

git clone https://github.com/davesantos/tumblr-boilerplate.git

Download

Getting Started

  1. Choose an installation method.
  2. Modify tumblr.html with your favorite code editor.
  3. Publish it by going to https://www.tumblr.com/customize
  4. Click Edit HTML on the left column.
  5. Copy & paste your customized code then click Save.

Features

Theme does not support

(Intentionally not included to remain flexible in the various uses for a theme.)

Caveats

Tumblr will auto-inject code (such as Open Graph Protocol, Twitter Cards & javascript) into the final result for your page. This is out of the theme developers' control. Running it through a HTML Validator or Page Speed may spit out warnings & errors.

(Tumblr injects <!DOCTYPE html>, twice!)

Optional Snippets

Open Graph Protocol
If you choose not to include this in your <head>, Tumblr will auto-generate it against your will! Isn't that great!?

<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# blog: http://ogp.me/ns/blog#">

And this:

  <meta property="og:site_name" content="{Title}">
  <meta property="og:url" content="{BlogURL}">
  <meta property="og:image" content="{PortraitURL-128}">
  <meta property="og:type" content="tumblr-feed:tumblelog">

Resources