make a proper link

This commit is contained in:
Valentin Gagarin 2024-10-16 18:19:41 +02:00
parent 7581ed9368
commit 0d5db72310

View file

@ -55,7 +55,7 @@ in
sorted = with lib; reverseList (sortOn (entry: entry.date) config.collections.news.entry);
in
lib.join "\n" (map (article: ''
- ${article.date} [${article.title}](${article})
- ${article.date} [${article.title}](${link article})
'') sorted)
}
'';