From 38016cc4b8c114a9258b658a758b507f260e4682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 11 Mar 2025 22:19:12 +0100 Subject: [PATCH] docs: update twig's URL --- askama/src/lib.rs | 2 +- book/src/creating_templates.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/askama/src/lib.rs b/askama/src/lib.rs index d2bf5f09..570dec44 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -51,7 +51,7 @@ //! **expressions**, which get replaced with content while being rendered, and //! **tags**, which control the template's logic. //! The template syntax is very similar to [Jinja](http://jinja.pocoo.org/), -//! as well as Jinja-derivatives like [Twig](http://twig.sensiolabs.org/) or +//! as well as Jinja-derivatives like [Twig](https://twig.symfony.com/) or //! [Tera](https://github.com/Keats/tera). #![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] diff --git a/book/src/creating_templates.md b/book/src/creating_templates.md index e761af23..6d55550e 100644 --- a/book/src/creating_templates.md +++ b/book/src/creating_templates.md @@ -9,7 +9,7 @@ A template consists of **text contents**, which are passed through as-is, **expressions**, which get replaced with content while being rendered, and **tags**, which control the template's logic. The [template syntax](template_syntax.md) is very similar to [Jinja](http://jinja.pocoo.org/), -as well as Jinja-derivatives like [Twig](http://twig.sensiolabs.org/) or +as well as Jinja-derivatives like [Twig](https://twig.symfony.com/) or [Tera](https://github.com/Keats/tera). ```rust