【文件属性】:
文件名称:octopress-muut:将 Muut 用于 Octopress 帖子和页面评论
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-04 05:14:02
Ruby
octopress-muut
将 Muut 用于 Octopress 帖子和页面评论。
设置
安装插件
下载此存储库中的文件。 将.rb和.html文件复制到 Octopress 实例中的相应目录中。 这可能有效:
$ cd octopress-muut
$ find . \( -name ' *.rb ' -o -name ' *.html ' \) -exec cp {} /path/to/octopress/{} \;
接下来,在 Octopress 安装中打开文件source/_includes/head.html并将其添加到底部:
{% include custom/muut_head.html %}
要真正让评论出现在每篇博客文章的底部,请编辑source/_layouts/post.html并在结束标记之后立即添加:
{% if site.mu
【文件预览】:
octopress-muut-master
----LICENSE(1KB)
----README.md(1KB)
----source()
--------_includes()
----plugins()
--------muut_comments.rb(887B)