什么是EJS
EJS 是一套简单的模板语言,没有再造一套迭代和控制流语法,利用普通的 JavaScript 代码生成 HTML 页面。
参考学习:ejs.bootcss.com
如果想要了解EJS的工作,那么得先学习了解一下JS。
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment
评论