From 39acaa38a880c8e1cd76d81c2975d18d3360fda9 Mon Sep 17 00:00:00 2001 From: TrebledJ <39648915+TrebledJ@users.noreply.github.com> Date: Sun, 5 Nov 2023 17:05:33 +0800 Subject: [PATCH] chore: test break in metadata dsec --- _includes/utilities/metadata.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/utilities/metadata.html b/_includes/utilities/metadata.html index 27d59f4cb..c53a2e50c 100644 --- a/_includes/utilities/metadata.html +++ b/_includes/utilities/metadata.html @@ -74,7 +74,7 @@ {% if excerpt %} - {% set meta_desc = (excerpt | mdInline | striptags) + "
" + (content | annihilate('.article-header, .metadata-container, .metadata-tag-container, #toc-sidebar') | striptags | truncateWords(30)) %} + {% set meta_desc = (excerpt | mdInline | striptags) + "\n" + (content | annihilate('.article-header, .metadata-container, .metadata-tag-container, #toc-sidebar') | striptags | truncateWords(30)) %} {% else %} {% set meta_desc = site.description %} {% endif %}