Skip to content

Commit

Permalink
adds basic files
Browse files Browse the repository at this point in the history
  • Loading branch information
sintaxi committed May 5, 2013
1 parent 9359f02 commit 94056e1
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
hb-minimal
==========

A minimal boilerplate for the Harp Application
A minimal boilerplate for the Harp Application.

- [docs](http://docs.harp.io/ "Learn how to develop using Harp.")
6 changes: 6 additions & 0 deletions harp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"globals": {
"name" : "Brock Whitten",
"debug" : false
}
}
5 changes: 5 additions & 0 deletions public/_debug.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
h4 globals
pre= JSON.stringify(globals, null, 2)

h4 current
pre= JSON.stringify(current, null, 2)
9 changes: 9 additions & 0 deletions public/_layout.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
!!!
html
head
link(rel="stylesheet", href="/css/main.css")
body
!= yield
if globals.debug === true
.well#debug
!= partial("_debug")
12 changes: 12 additions & 0 deletions public/css/main.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
body{
font-family: "Verdana";
text-align: center;
padding:300px 0;
white-space:nowrap;
background:#ddd;
color:#FFF;
}

h1{
font-size:40px;
}
1 change: 1 addition & 0 deletions public/index.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1 Welcome to Harp

0 comments on commit 94056e1

Please sign in to comment.