I'm looking to set up templates with Twig for a project I'm working on. Templates by themselves work fine, however if I try and extend a layout or include a partial I run into issues. My test post's front matter is:
---
title: Test Post
date: 2016-08-13
topic: Lifestyle
layout: blog.twig
---
What I can't tell is if I have something configured wrong or if there's some feature of Twig missing from the JS version. The existing issues I've read about this seem have been resolved. Thank you for any insight you can provide!
I'm looking to set up templates with Twig for a project I'm working on. Templates by themselves work fine, however if I try and extend a layout or include a partial I run into issues. My test post's front matter is:
blog.twig:
and my default.twig template, which I'm extending is:
When I try and compile my test post, I get the error:
What I can't tell is if I have something configured wrong or if there's some feature of Twig missing from the JS version. The existing issues I've read about this seem have been resolved. Thank you for any insight you can provide!