css我是写在layout文件中的。 包括了header和footer部分,模板用的ejs引擎,不过是以html文件格式。 你看看。https://github.com/luoyjx/gaoqi-blog/blob/master/views/layout.html