diff --git a/_layouts/post.html b/_layouts/post.html index e3dc0c8d..7b289805 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,9 +13,25 @@

{{ page.title } {% if page.subtitle %}

{{ page.subtitle }}

{% endif %} + + {% if page.deprecated %} +
+ ⚠️ Deprecated: + {% if page.deprecated_reason %} + {{ page.deprecated_reason }} + {% else %} + This post contains outdated information. + {% endif %} + {% if page.deprecated_link %} + View updated content + {% endif %} +
+ {% endif %} + +