Skip to content

Instantly share code, notes, and snippets.

@Altreus
Created June 27, 2013 20:59
Show Gist options
  • Save Altreus/5880352 to your computer and use it in GitHub Desktop.
Save Altreus/5880352 to your computer and use it in GitHub Desktop.
.claim.#{claim.confirmation}
h2= claim.claimant.name
p= claim.claim
extends layout
block content
each claim in claims
.claim
include widgets/claim
var express = require('express');
var app = express();
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
app.get('/', /*db.loadClaims,*/ function(req, res) {
res.render('index', {
claims: [
{
confirmation: 'unconfirmed',
claimant: { name: 'test' },
claim: 'testy test'
}
]
});
});
app.listen(8000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment