avillafiorita / jekyll-datapage_gen

Generate one page per yaml record in Jekyll sites.
371 stars 80 forks source link

Templates with liquid extension cause error #126

Open kslstn opened 1 year ago

kslstn commented 1 year ago

My templates have the .liquid extension, so my editor can apply the appropriate syntax highlighting. The data page generator doesn't seem to like that:

Error reading file /[project path]/_layouts/test.liquid/test.liquid: Not a directory @ rb_sysopen - /[project path]/_layouts/test.liquid/test.liquid 

When I change the file extension to .html, there's no error and the pages are rendered.