Closed mrksbnch closed 8 years ago
+1
+1
This works fantastic for hard coding file names, but I'm dynamically including a bunch of files from an outside directory. My markup looks pretty much exactly like @mrksbnch's.
Hey sorry everyone for being late, I'll look into this issue some time this weekend :)
Based on random cutting+pasting, I found putting @file = context[@file] || @file
as the first line of render
fixes this (I have no idea at all what I did, just cut from another plugin)
I tried to use a variable in the
include_absolute
path, but it doesn't seem to work.This is already supported in Jekyll's build-in
include
andinclude_relative
functions.