mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-26 00:52:11 +00:00
added article
This commit is contained in:
13
test/views/articles/article.jade
Normal file
13
test/views/articles/article.jade
Normal file
@@ -0,0 +1,13 @@
|
||||
h1= article.title
|
||||
|
||||
div!= article.body
|
||||
|
||||
hr
|
||||
|
||||
p
|
||||
span Author:
|
||||
|
||||
a(href="/users/" + encodeURIComponent(article.author.username))= article.author.full_name
|
||||
|
||||
p
|
||||
a(href="/articles") Back to all articles
|
||||
Reference in New Issue
Block a user