Ali Shirvani
Ali Shirvani

Reputation: 580

jekyll plugin not working on local machine

I have developed a simple filter for jekyll liquid module, and put the code in _plugins directory. but when I run jekyll the plugin doesn't work.

here is the directory that I run jekyll: https://github.com/alishir/alishir.github.io/tree/dev

here is the plugin code, it return simple string just for test: https://github.com/alishir/alishir.github.io/blob/dev/_plugins/PersianDate.rb

Upvotes: 3

Views: 1275

Answers (1)

Ali Shirvani
Ali Shirvani

Reputation: 580

Finally I found source of the problem, jeykll should run in non-safe mode in order to process plugins, but my _config.yml contains following line that prevent jekyll to process plugins.

   safe: true

Upvotes: 6

Related Questions