Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jevets committed Aug 19, 2015
1 parent 9d35602 commit 2c47a89
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ One of the biggest complaints I've had about Harp is that I could never pull in

This is the main justification for this bolierplate. While I'm at it, I've included some other modules and resources that I typically use, like Bootstrap 3.x and Browserify. (They're easy enough to remove if you don't want them.)

[An article by Remy Sharp](https://remysharp.com/2014/09/30/wordpress-ghost-harp-pt2#use-of-special-helpers-inside-harp) clued me into a way of wrapping Harp's `compile` and `serve` features from my own node script, allowing me to make moment.js and underscore.js (and others) available to my Harp templates. Now (during the compile!) I can iterate using underscore and format dates nicely with moment.
[An article by Remy Sharp](https://remysharp.com/2014/09/30/wordpress-ghost-harp-pt2#use-of-special-helpers-inside-harp) clued me into a way of wrapping Harp's `compile` and `serve` features in my own node script, allowing me to make moment.js and underscore.js (and others) available to my Harp templates. Now I can iterate using underscore and format dates nicely with moment.

## Getting Started

Expand All @@ -49,9 +49,7 @@ This is the main justification for this bolierplate. While I'm at it, I've inclu

### 3. Start up the dev server

```shell
npm run dev
```
npm run dev

## Package Scripts

Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ switch (argv._[0]) {
case 'build':
build();
break;
case 'deploy':
deploy();
break;
default:
util.log('No command specified.');
break;
Expand Down
7 changes: 7 additions & 0 deletions public/404.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends _layouts/container

block prepend title
| 404 -

block container
h1 Page not Found

0 comments on commit 2c47a89

Please sign in to comment.