json feed work
All checks were successful
Build Hugo Site / build (push) Successful in 6s

This commit is contained in:
Phil 2025-01-08 16:21:12 -07:00
parent cb3148202d
commit e8ce333184
3 changed files with 14 additions and 12 deletions

5
content/notes/_index.md Normal file
View File

@ -0,0 +1,5 @@
---
title: "Notes"
type: "notes"
outputs: ["HTML", "jsonfeed"]
---

View File

@ -42,7 +42,6 @@ tag = "tags"
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
showFullTextinJSONFeed = true # Optimize feeds for IndieWeb-compatible readers
# Optional social links
[[params.socialLinks]]
@ -68,15 +67,13 @@ tag = "tags"
url = "about/"
weight = 20
[outputs]
home = ["html", "rss"]
section = ["html", "json"] # Enable JSON for section outputs
page = ["html"]
[outputFormats.json]
[outputFormats.jsonfeed]
mediaType = "application/json"
baseName = "index"
baseName = "feed"
rel = "alternate"
isPlainText = true
notAlternative = true
[outputs]
home = ["html", "jsonfeed", "rss"]
section = ["html", "jsonfeed", "rss"]

@ -1 +1 @@
Subproject commit 9083f3aba76b5ac2a73744d5524b9f6721936a9a
Subproject commit f5777739587aa71915f1b46c38e22affa090c97d