diff options
author | Robert Kaussow <mail@thegeeklab.de> | 2022-02-07 12:57:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 12:57:43 +0300 |
commit | d2668b43f6b05e164dab9476fae081ccd1004fcf (patch) | |
tree | d2f3bb4e69953b263590e09b3e518a9cd0e5d44a /assets | |
parent | d94859e4ae93c03616c6659d348cb782f2249983 (diff) |
refactor: unify title and description handling in meta files (#329)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/search/data.json | 4 |
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 }} |