From f47af1fb9e9cd9f6c0d7e2fcd62c09ef025563d6 Mon Sep 17 00:00:00 2001 From: tetrapod00 <145553014+tetrapod00@users.noreply.github.com> Date: Sun, 15 Dec 2024 01:07:50 -0800 Subject: [PATCH] Only show warning box if page is outdated --- _templates/layout.html | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/_templates/layout.html b/_templates/layout.html index c893bfc8848..ae42f23007a 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -34,9 +34,8 @@ {% endif %} - {% if godot_show_article_status and not godot_is_latest %} -
- {% if meta and meta.get('article_outdated') == 'True' %} + {% if godot_show_article_status and not godot_is_latest and meta and meta.get('article_outdated') == 'True' %} +

Work in progress

The content of this page was not yet updated for Godot @@ -44,13 +43,6 @@ and may be outdated. If you know how to improve this page or you can confirm that it's up to date, feel free to open a pull request.

- {% else %} -

Up to date

-

- This page is up to date for Godot {{ godot_version }}. - If you still find outdated information, please open an issue. -

- {% endif %}
{% endif %}