Blog2018 ≫ render error: (unknown path)

Another Nunjucks error that is a bit misleading, I've had a few render error: (unknown path) errors but have figured out what they mean... I had some include foo.html left in blog posts from when I converted this blog from all my own templates to Liquid templates. Now I've moved over to Nunjucks as a templating language everthing is nearly the same... but different.

include foo.html in Nunjucks means "Include element html from the var foo here", so what I really want is include 'foo.html' - put it in quotes so it's a literal.

⬅️ :: ➡️

Paul Clarke's blog - I live in Hythe near Folkestone. Married + dad to two, I am a full-stack web engineer, + I do js / Node, some ruby, python, php etc. I like pubbing, parkrun, eating, home-automation and other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, + TIME TRAVEL.