logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 185dcfda03bbd6ca7ccad749bd086de4c87a4acc
parent 8804f2b3a1f7ecdc0908cc46861f0890791da35a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 26 Nov 2024 18:14:35 +0100

new_article.sh: generate correct <link rel="alternate">

Diffstat:

Mnew_article.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/new_article.sh b/new_article.sh @@ -52,7 +52,7 @@ fi cat >"${WORKDIR}/articles/${file}.xml" <<-EOF <entry> <title>${title}</title> -<link rel="alternate" type="text/html" href="/${file_url}"/> +<link rel="alternate" type="text/html" href="https://hacktivis.me/${file_url}"/> <id>https://hacktivis.me/${file_url}</id> <published>${timestamp}</published> <updated>${timestamp}</updated>