将新 gem 添加到 github 上托管的 Jekyll 站点

Add new gem to jekyll site hosted on github

我已将 last_modified gem 添加到我的本地 jekyll 站点,它工作正常,即在页面上生成最后更新时间。当我将更新文件推送到远程站点(托管在 github 上)时,它不起作用。

本地

github.io

Github 只支持有限的一组 plugins. If you want to use any other plugins, you have to build the Jekyll site locally and then push the html to Github (see ).