blog

git clone https://git.ce9e.org/blog.git

commit
36615dd16298d6419156cf2a4a97ac815301ad3e
parent
226e80e46775b72cbeb9b711ef74234ae816d52b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-12-16 17:01
feed: fix content mime type

Diffstat

M feed.sh 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/feed.sh b/feed.sh

@@ -22,7 +22,7 @@ ls _content/posts | tac | while read l; do
   22    22 	echo "		<link href=\"$url\" />"
   23    23 	echo "		<id>$url</id>"
   24    24 	echo "		<updated>$(grep '^date:' "$yml" | head -n 1 | sed 's/date: //' | escape)T00:00:00Z</updated>"
   25    -1 	echo "		<content type=\"html\">$(cat "$html" | escape)</content>"
   -1    25 	echo "		<content type=\"text/html\">$(cat "$html" | escape)</content>"
   26    26 	echo '	</entry>'
   27    27 done
   28    28