summaryrefslogtreecommitdiffstats
path: root/layouts/_default/list.json.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-22 21:30:45 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-22 21:30:45 +0200
commit344b004dd94c60df35663de8c75ae0697b3d95db (patch)
tree9868acf9e27aa1aeab37583a997cf03ef8a95f14 /layouts/_default/list.json.json
parent4f3e41d2c9d78ebbab00cbba76fa3889420bb0aa (diff)
downloadgohugo-theme-ed-344b004dd94c60df35663de8c75ae0697b3d95db.tar.gz
Rework setting title logic
Diffstat (limited to 'layouts/_default/list.json.json')
-rw-r--r--layouts/_default/list.json.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.json.json b/layouts/_default/list.json.json
index 6151211..bfcb852 100644
--- a/layouts/_default/list.json.json
+++ b/layouts/_default/list.json.json
@@ -15,7 +15,7 @@
{
"version": "https://jsonfeed.org/version/1.1",
- "title": {{ (printf "%s JSON Feed" site.Title) | htmlUnescape | jsonify }},
+ "title": {{ (printf "%s" (partial "title.html" .)) | htmlUnescape | jsonify }},{{/* TODO: Translate title */}}
"home_page_url": {{ printf "%s?utm_source=json_feed" site.BaseURL | absURL | jsonify }},
{{ with .OutputFormats.Get "JSON" }}"feed_url": {{ .Permalink | absURL | jsonify }},{{ end }}
{{ with site.Params.description}}"description": {{ site.Params.description | jsonify }},{{ end }}