mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-01-27 01:22:29 +00:00
added private public view to profile -- todo : add same for article view
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
extends ../layout
|
||||
|
||||
block content
|
||||
ul
|
||||
- articles.forEach(function(article) {
|
||||
li
|
||||
a(href="/articles/" + encodeURIComponent(article.title))= article.title
|
||||
- });
|
||||
ul
|
||||
- articles.forEach(function(article) {
|
||||
li
|
||||
a(href="/articles/" + encodeURIComponent(article._id))= article.title
|
||||
- });
|
||||
Reference in New Issue
Block a user