From e25706f25d10d4346ff3d73d27d39ff4b3a1fe58 Mon Sep 17 00:00:00 2001 From: Keunes <11229646+keunes@users.noreply.github.com> Date: Thu, 23 Nov 2023 23:05:37 +0100 Subject: [PATCH] Test: elsif page.title Title definition replaced by regular text for testing. Test successful without the whole elsif block - what if only elsif tag is there? --- _layouts/redirect.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_layouts/redirect.html b/_layouts/redirect.html index 023ed0654..90c0a258a 100644 --- a/_layouts/redirect.html +++ b/_layouts/redirect.html @@ -3,6 +3,8 @@ {% if page.layout == "blog" or page.layout == "event" %} {% capture title %}{{ page.title }} – {{ site.title }}{% endcapture %} + {% elsif page.title %} + Test (elsif problem) {% else %} {% capture title %}{{ site.title }} – {% t homepage.header %}{% endcapture %} {% endif %}