From 440c7818ca8418857ed951fe8e7e0981a3cc9585 Mon Sep 17 00:00:00 2001 From: Brian Hurst Date: Wed, 2 Oct 2024 13:54:42 -0400 Subject: [PATCH] Fix meta description on news page (#2545) * Fix meta description on news page Signed-off-by: Brian Hurst * Update meta.html Signed-off-by: Brian Hurst * Same for knowledgebase Signed-off-by: Brian Hurst --------- Signed-off-by: Brian Hurst --- _includes/meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/meta.html b/_includes/meta.html index c8a62ad6d..4df7bf7bd 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -20,7 +20,7 @@ {%- if page.title -%}{{- page.title | strip_html }} | {% endif -%}{{ site.title -}} {% endcapture %} {% capture description %} - {%- if page.url == "/" -%} + {%- if page.url == "/" or page.url == "/news/index.html" or page.url == "/knowledge-base/index.html" -%} {{- site.description -}} {%- elsif page.description -%} {{- page.description | truncate: 160 -}}