Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thegeeklab/hugo-geekdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRobert Kaussow <mail@thegeeklab.de>2022-02-07 12:57:43 +0300
committerGitHub <noreply@github.com>2022-02-07 12:57:43 +0300
commitd2668b43f6b05e164dab9476fae081ccd1004fcf (patch)
treed2f3bb4e69953b263590e09b3e518a9cd0e5d44a /assets
parentd94859e4ae93c03616c6659d348cb782f2249983 (diff)
refactor: unify title and description handling in meta files (#329)
Diffstat (limited to 'assets')
-rw-r--r--assets/search/data.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/search/data.json b/assets/search/data.json
index 38d358a..26f2463 100644
--- a/assets/search/data.json
+++ b/assets/search/data.json
@@ -4,8 +4,8 @@
{
"id": {{ $index }},
"href": "{{ $page.RelPermalink }}",
- "title": {{ (partial "title" $page) | jsonify }},
- "parent": {{ with $page.Parent }}{{ (partial "title" .) | jsonify }}{{ else }}""{{ end }},
+ "title": {{ (partial "utils/title" $page) | jsonify }},
+ "parent": {{ with $page.Parent }}{{ (partial "utils/title" .) | jsonify }}{{ else }}""{{ end }},
"content": {{ $page.Plain | jsonify }}
}
{{ end }}