对于HEXO博客...我知道元描述是用配置文件编写的,适用于所有页面。 对于博客我可以创建个人元描述,并适用于搜索引擎。 但是,我的“标签”和“类别”页面现在获得索引,并带有主页的元描述。 这不好。 所以我问是否有可能为“标签”和“类别”页面创建自定义元描述? 喜欢的东西... description: this is a page about {{tag}} 和 description: thi
我想截断post.excerpt。 实际代码是<%- post.excerpt || post.content%> 上面显示一个所有博客帖子的介绍文字。 现在我想截断该介绍文本的长度为25个字符。 的截断代码就像这个例子: <%- truncate('And they found that many people were sleeping better.', {length: 25, omiss