Skip to content

Commit

Permalink
Remove .html from feed items
Browse files Browse the repository at this point in the history
  • Loading branch information
DeclanChidlow committed Jan 23, 2025
1 parent 1fbe8d6 commit 67d8e05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/micro_syndication.ori
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
home_page_url: "https://vale.rocks"
feed_url: "https://vale.rocks/micros/feed.json"

items: values(map(micros, (micro, slug) => {
id: `https://vale.rocks/micros/${ slug }`
url: `https://vale.rocks/micros/${ slug }`
items: values(map(micros, (micro, fileName) => {
id: `https://vale.rocks/micros/${ basename(fileName) }`
url: `https://vale.rocks/micros/${ basename(fileName) }`
title: micro/title
content_html: micro/@text
date_published: micro/pub_time
Expand Down
6 changes: 3 additions & 3 deletions src/photography_syndication.ori
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
home_page_url: "https://vale.rocks"
feed_url: "https://vale.rocks/photography/feed.json"

items: values(map(photography, (photo, slug) => {
id: `https://vale.rocks/photography/${ slug }`
url: `https://vale.rocks/photography/${ slug }`
items: values(map(photography, (photo, fileName) => {
id: `https://vale.rocks/photography/${ basename(fileName) }`
url: `https://vale.rocks/photography/${ basename(fileName) }`
title: photo/description
image: photo/image
content_html: photo/@text
Expand Down
6 changes: 3 additions & 3 deletions src/post_syndication.ori
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
home_page_url: "https://vale.rocks"
feed_url: "https://vale.rocks/posts/feed.json"

items: values(map(posts, (post, slug) => {
id: `https://vale.rocks/posts/${ slug }`
url: `https://vale.rocks/posts/${ slug }`
items: values(map(posts, (post, fileName) => {
id: `https://vale.rocks/posts/${ basename(fileName) }`
url: `https://vale.rocks/posts/${ basename(fileName) }`
title: post/title
content_html: post/@text
summary: post/description
Expand Down

0 comments on commit 67d8e05

Please sign in to comment.