tnhu / jekyll-include-absolute-plugin

A Jekyll's liquid tag plugin to include a file from its path relative to Jekyll's source folder
MIT License
22 stars 10 forks source link

How do I use this plugin? #5

Open kevdogg opened 4 years ago

kevdogg commented 4 years ago

This plugin seems very helpful.

I cloned your git repository and just simply copied include_absolute.rb into my _includes folder.

I attempted to use the plugin with the following:

{% include_absolute 'assets/raw/20-wired.network.txt' %}

But I'm getting this as an error:

/Users/kevdog/.gem/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:23:in `unknown_tag': Liquid syntax error (line 77): Unknown tag 'include_absolute' (Liquid::SyntaxError)
snan commented 4 years ago

It should not be in _includes, it should be in _plugins.