blog

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

commit
85519303403f4995a0954e3362f4bc5b6c457c73
parent
faecf41e4126e916034c72b11bd1c5fe3d3b814a
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2024-02-12 11:04
feed: add missing updated element

Diffstat

M feed.sh 1 +

1 files changed, 1 insertions, 0 deletions


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

@@ -11,6 +11,7 @@ echo '<feed xmlns="http://www.w3.org/2005/Atom">'
   11    11 echo '	<author><name>Tobias Bengfort</name></author>'
   12    12 echo '	<title>Ξ</title>'
   13    13 echo "	<id>$base_url</id>"
   -1    14 echo "	<updated>$(date '+%Y-%m-%d')T00:00:00Z</updated>"
   14    15 echo "	<link href=\"$base_url\" rel=\"alternate\" />"
   15    16 if [ "$1" = '-a' ]; then
   16    17 	echo "	<link href=\"${base_url}feed.xml\" rel=\"current\" />"