Permalink
Browse files

blog_index.jade is now index.jade

  • Loading branch information...
1 parent 1b9c716 commit 11fd21942e606fbf64d3b71793e476fd615ac46d @loarabia loarabia committed Jul 25, 2011
@@ -33,7 +33,7 @@ var articleProvider = new ArticleProvider('localhost', 27017);
app.get('/', function(req, res){
articleProvider.findAll( function(error,docs){
- res.render('blog_index.jade', {
+ res.render('index.jade', {
locals: {
title: 'Blog',
articles:docs
@@ -33,7 +33,7 @@ var articleProvider = new ArticleProvider('localhost', 27017);
app.get('/', function(req, res){
articleProvider.findAll( function(error,docs){
- res.render('blog_index.jade', {
+ res.render('index.jade', {
locals: {
title: 'Blog',
articles:docs
@@ -20,7 +20,6 @@ h1 {
margin-left: auto;
margin-right: auto;
width: 320px;
- color: #340000;
}
#articles .article {
margin: 20px;
@@ -36,19 +35,3 @@ h1 {
#articles .article .body {
background-color: #ffa;
}
-.article .created_at {
- display: none;
-}
-.article input[type =text] {
- width: 490px;
- margin-left: 16px;
-}
-.article input[type =button],
-.article input[type =submit] {
- text-align: left;
- margin-left: 440px;
-}
-.article textarea {
- width: 490px;
- height: 90px;
-}

0 comments on commit 11fd219

Please sign in to comment.