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

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