<commit_before># root

a tumblr theme

### Setup

- make sure [node.js](http://nodejs.org) and [roots](http://roots.cx) are installed
- clone this repo down and `cd` into the folder
- run `npm install`
- run `roots watch`
- ???
- get money

### Deploying

- If you just want to compile the production build, run `roots compile -e production` and it will build to public.
- To deploy your site with a single command, run `roots deploy -to XXX` with `XXX` being whichever [ship](https://github.com/carrot/ship#usage) deployer you want to use.<commit_msg>add additional notes in root/readme<commit_after># A Tumblr Theme

a tumblr theme

### Setup

- make sure [node.js](http://nodejs.org) and [roots](http://roots.cx) are installed
- clone this repo down and `cd` into the folder
- run `npm install`
- run `roots watch`
- ???
- get money

### Usage
- For local development:
  - `roots watch` or `roots compile`
- To compile a tumblr-ready version `roots compile -e production`

### Best practices

**Javascript:** it's easiest to inline your javascript so you don't have to host an external `.js` asset. To do this, try and keep all of your JS in 1 file and include it directly into your markup with jade.

```jade
//- assuming /main.coffee exists
head
  script: include:coffee-script ./main.coffee
```

**CSS:** [roots-inline-css](#) makes it extremely easy to locally use stylesheets but compile it inline. This, once again, prevents you from having to host the external `.css` asset.

```jade
//- assuming /style.styl exists
head
  link(rel='stylesheet', href='style.css')
  //- :point_up: compiles all styles into a <style> block
```
{'fraction_non_alphanumeric': 0.1235474006116208, 'fraction_numerical': 0.0006116207951070336, 'mean_word_length': 3.8402366863905324, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6133570', 'n_tokens_mistral': 528, 'n_tokens_neox': 488, 'n_words': 218}