diff --git a/_includes/alert-banner-inner.html b/_includes/alert-banner-inner.html index 135cf0bda..f6d8edfd2 100644 --- a/_includes/alert-banner-inner.html +++ b/_includes/alert-banner-inner.html @@ -1,6 +1,8 @@ {% comment %}use the variable 'message' to include markdown text to display in the alert.{% endcomment %} +{% unless include.message_id == 'disabled' %}

{{include.message|markdownify}}

+{% endunless %} diff --git a/_includes/alert-banner.html b/_includes/alert-banner.html index 7e25ff90d..16e7af0d8 100644 --- a/_includes/alert-banner.html +++ b/_includes/alert-banner.html @@ -1,5 +1,7 @@ {% comment %}use the variable 'message' to include markdown text to display in the alert.{% endcomment %} +{% unless include.message_id == 'disabled' %} +{% endunless %} diff --git a/_includes/navbar-inner.html b/_includes/navbar-inner.html index 771018af3..dee9012e5 100644 --- a/_includes/navbar-inner.html +++ b/_includes/navbar-inner.html @@ -1,5 +1,5 @@