TheFoundryWebsite CS 196网站。使用Node.js和Express.js
铸造网站CS 196网站。使用Node.js和Express.js如何发新帖:导航到./views/partials/content/posts目录。创建一个新的.json文件。命名约定是YYYYMMDD-title.ejs。这是为了确保文件以正确的顺序显示。 JSON文件必须具有以下属性: { "title": "Post Title", "author": "John Public", "timestamp": "2014/10/21", "preview": "Show the first paragraph in the preview page!", "content": "
Show the first paragraph in the preview page!
And here is the r
用户评论