2
votes

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

1

1 Answers

5
votes

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