blog

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

commit
226e80e46775b72cbeb9b711ef74234ae816d52b
parent
59b3048e030650e0b7d6964cd2e24f210047f147
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2023-12-16 17:01
feed: fix closing link

Diffstat

M feed.sh 2 +-

1 files changed, 1 insertions, 1 deletions


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

@@ -19,7 +19,7 @@ ls _content/posts | tac | while read l; do
   19    19 	url="${base_url}posts/$l/"
   20    20 	echo '	<entry>'
   21    21 	echo "		<title>$(grep '^title:' "$yml" | head -n 1 | sed 's/title: //' | escape)</title>"
   22    -1 	echo "		<link href=\"$url\">"
   -1    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    25 	echo "		<content type=\"html\">$(cat "$html" | escape)</content>"