aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-05-08 18:34:04 -0400
committerThedro Neely <thedroneely@gmail.com>2022-05-08 18:34:04 -0400
commitaa3975c8d4eebe06ccca1860f69ccd403ae635a0 (patch)
treefbb0c7755774f019f7a698a67efdd660ed1565c8
parent7759628552611d469a4c5f68709461824f530120 (diff)
downloadthedroneely.com-aa3975c8d4eebe06ccca1860f69ccd403ae635a0.tar.gz
thedroneely.com-aa3975c8d4eebe06ccca1860f69ccd403ae635a0.tar.bz2
thedroneely.com-aa3975c8d4eebe06ccca1860f69ccd403ae635a0.zip
generators/hugo/layouts/_default/index.json: Unescape title and summary
-rw-r--r--generators/hugo/themes/tdro/layouts/_default/index.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/index.json b/generators/hugo/themes/tdro/layouts/_default/index.json
index 3c56806..3cab4c6 100644
--- a/generators/hugo/themes/tdro/layouts/_default/index.json
+++ b/generators/hugo/themes/tdro/layouts/_default/index.json
@@ -10,8 +10,8 @@
{
"id": "{{ md5 $data.Permalink }}",
"url": "{{ $data.Permalink }}",
- "title": "{{ htmlEscape $data.Title }}",
- "summary": "{{ $data.Summary }}",
+ "title": "{{ $data.Title | htmlUnescape }}",
+ "summary": "{{ $data.Summary | htmlUnescape }}",
"date_modified": "{{ $data.Date | time.Format "2006-01-02T15:04:05Z" }}",
"date_published": "{{ $data.PublishDate | time.Format "2006-01-02T15:04:05Z" }}",
"_metadata": {