Jekyll插件不工作 [英] Jekyll plugin not working

查看:135
本文介绍了Jekyll插件不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一个简单的Jekyll插件来生成分类页面。 IT在我的本地系统上正常工作,但在github网站上无效。



这是插件的源代码:



https://github.com/madhur/ madhur.github.com/blob/master/_plugins/site_process.rb



它应该生成如下所示的页面:



http://www.madhur.co.in/categories /Security.html



然而它没有生成。任何想法?

解决方案

GitHub不允许Jekyll插件,事实证明我们不希望你在我们的服务器上运行任意代码:)

I have developed a simple Jekyll plugin, to generate the categories pages. IT works fine on my local system but does not work on github site.

Here is the source of the plugin:

https://github.com/madhur/madhur.github.com/blob/master/_plugins/site_process.rb

It should generate a page such as this:

http://www.madhur.co.in/categories/Security.html

However its not generated. Any ideas?

解决方案

GitHub doesn't allow Jekyll plugins, turns out we don't want you running arbitrary code on our servers :)

这篇关于Jekyll插件不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆