我希望能够从sails控制器操作中设置description meta标记。我已经搜索遍了,但唯一的例子是页面标题。这是我的第一个node.js和水手网站,我是不是走错路了?就像这样:index: function (){ { metaDescription: "The Description Text" }
我编辑index.md更改了主页,但是我在文件的顶部看到了一个奇怪的注释:# You don't need to edit this file, it's empty on purpose.显然,我不是想改变主题,只是在主页中添加一些内容。我是不是遗漏了什么?目录结构:_layouts├── home.html└── post.html
更改index.md是向Jekyll