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.
⬅️ Estimated website hosting costs for next month are nine dollars :: Got it processing ALL of my blog content now ➡️
Paulʼs blog - I live in A sleepy town, Kent. Married + dad to two, I am a full-stack web engineer, + I do js / node, some ruby, python, php etc. I like pubbing, parkrun, restaurants, home-automation 🤖 and other diy jiggery-pokery, history, tree stuff, TV, squirrels, pirates, lego, + time travel.