From 2e32a8559c03fbc9223df7275672cefb465cbe12 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sat, 4 Jul 2026 20:13:18 +0200 Subject: [PATCH] config: migrate strict_mode to Twig 3 compat flags for Grav 2.0 Grav 2.0's schema migration replaces the 1.7-era twig_compat with twig2_compat/twig3_compat. Matching the repo to what the upgraded server already generated so a content reset doesn't revert it. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Np4cMQLF77i664CAQXySzU --- config/system.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/system.yaml b/config/system.yaml index b3e8278..558b5bc 100644 --- a/config/system.yaml +++ b/config/system.yaml @@ -237,7 +237,8 @@ flex: lifetime: 600 strict_mode: yaml_compat: false - twig_compat: false blueprint_compat: false + twig2_compat: false + twig3_compat: true uploads_privacy: enabled: false