From 603f058cb5176321c4728166c708c4b2039a6b69 Mon Sep 17 00:00:00 2001 From: Contao Academy <23719181+contaoacademy@users.noreply.github.com> Date: Thu, 26 Feb 2026 19:03:50 +0100 Subject: [PATCH] Fix version shortcode: use version-tag instead of version (DE+EN) --- docs/manual/layout/templates/twig/_index.de.md | 2 +- docs/manual/layout/templates/twig/_index.en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/layout/templates/twig/_index.de.md b/docs/manual/layout/templates/twig/_index.de.md index 88ee65df2..e9d39a883 100644 --- a/docs/manual/layout/templates/twig/_index.de.md +++ b/docs/manual/layout/templates/twig/_index.de.md @@ -43,7 +43,7 @@ Weitergehende Informationen zu Twig-Templates in Contao findest du in der ## Twig-Templates im Contao-Core -{{< version "5.7" >}} Für jedes `.html5`-Template steht ein Twig-Pendant zur Verfügung. Twig ist damit der +{{< version-tag "5.7" >}} Für jedes `.html5`-Template steht ein Twig-Pendant zur Verfügung. Twig ist damit der neue Standard und löst die HTML5-Templates vollständig ab. Standardmäßig wird immer die Twig-Version eines Templates verwendet. Liegt jedoch ein gleichnamiges diff --git a/docs/manual/layout/templates/twig/_index.en.md b/docs/manual/layout/templates/twig/_index.en.md index 57d372e83..7d2206fd1 100644 --- a/docs/manual/layout/templates/twig/_index.en.md +++ b/docs/manual/layout/templates/twig/_index.en.md @@ -35,7 +35,7 @@ More information about Twig templates in Contao can be found in the ## Twig templates in Contao core -{{< version "5.7" >}} Every `.html5` template has a Twig equivalent. Twig is now the new standard and +{{< version-tag "5.7" >}} Every `.html5` template has a Twig equivalent. Twig is now the new standard and fully replaces the HTML5 templates. By default, the Twig version of a template is always used. However, if a `.html5` template with the same