mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 00:52:11 +00:00
upgraded to express 3.x, converted jade templates, and worked out array notation for articles/exercises
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
h1= article.title
|
||||
extends ../layout
|
||||
block content
|
||||
h1= article.title
|
||||
|
||||
div!= article.body
|
||||
div!= article.body
|
||||
|
||||
hr
|
||||
hr
|
||||
|
||||
p
|
||||
span Author:
|
||||
|
||||
a(href="/users/" + encodeURIComponent(article.author.username))= article.author.full_name
|
||||
p
|
||||
span Author:
|
||||
|
||||
a(href="/users/" + encodeURIComponent(article.author.username))= article.author.full_name
|
||||
|
||||
p
|
||||
a(href="/articles") Back to all articles
|
||||
p
|
||||
a(href="/articles") Back to all articles
|
||||
Reference in New Issue
Block a user