From 0c49fcb1cc511bfb04d65e58f2ed7b02a0892afc Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Wed, 26 Jul 2023 10:25:53 -0400 Subject: [PATCH] chore: Typo in comment Signed-off-by: Adam Harvey --- assets/json/offline-search-index.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/json/offline-search-index.json b/assets/json/offline-search-index.json index 061c4083c5..0423be6205 100644 --- a/assets/json/offline-search-index.json +++ b/assets/json/offline-search-index.json @@ -1,7 +1,7 @@ {{- $.Scratch.Add "offline-search-index" slice -}} {{- range where .Site.AllPages ".Params.exclude_search" "!=" true -}} {{/* We have to apply `htmlUnescape` again after `truncate` because `truncate` applies `html.EscapeString` if the argument is not HTML. */}} -{{/* Indvidual taxonomies can be added in the next line by add '"taxonomy-name" (.Params.taxonomy-name | default "")' to the dict (as seen for categories and tags). */}} +{{/* Individual taxonomies can be added in the next line by add '"taxonomy-name" (.Params.taxonomy-name | default "")' to the dict (as seen for categories and tags). */}} {{- $.Scratch.Add "offline-search-index" (dict "ref" .RelPermalink "title" .Title "status" (.Params.status | default "") "body" (.Plain | htmlUnescape) "excerpt" ((.Description | default .Plain) | htmlUnescape | truncate (.Site.Params.offlineSearchSummaryLength | default 70) | htmlUnescape)) -}} {{- end -}} {{- $.Scratch.Get "offline-search-index" | jsonify -}}