From 43c28d459f401b7d9ce49b2855fee01641c3060f Mon Sep 17 00:00:00 2001 From: Utsob Roy Date: Sun, 8 Jan 2023 20:03:01 +0600 Subject: [PATCH] tag fix in search --- src/site/_includes/components/searchScript.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/_includes/components/searchScript.njk b/src/site/_includes/components/searchScript.njk index 74aaef3..fc1ce27 100644 --- a/src/site/_includes/components/searchScript.njk +++ b/src/site/_includes/components/searchScript.njk @@ -157,7 +157,7 @@ // we need to add title, url from ref results.forEach(r => { resultsHTML += `
${r.title}
- {% if tags %}
{% for tag in tags %}#{{tag}}
{% endfor %}{% endif %} + {% if tags %}
{% for tag in tags %}#{{tag}}{% endfor %}{% endif %}
${r.content}
`; }); resultsHTML += '
';