logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 0124c613899239ec662eadd083ea4633442ed264
parent 0b331058e03b67f1c19a660d3644e15e149a456b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 19 Nov 2024 10:06:36 +0100

Set proper feedURL for french articles

Diffstat:

Mbuild.ninja3+++
Mconfig.ninja2+-
Mconfigure2+-
3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/build.ninja b/build.ninja @@ -9,6 +9,9 @@ rule xslt rule article command = xsltproc --nonet --param feedURL "'https://hacktivis.me/feed.atom'" -o $out $in +rule article_fr + command = xsltproc --nonet --param feedURL "'https://hacktivis.me/flux.atom'" -o $out $in + rule notes_index command = ./notes_index.pm >|$out build notes/index.xhtml: notes_index ./notes | ./notes_index.pm diff --git a/config.ninja b/config.ninja @@ -10,7 +10,7 @@ build entrée.xsl: xinclude entrée.xsl.in | ./templates/head.xml ./templates/fr build bookmarks.xsl: xinclude bookmarks.xsl.in | ./templates/head.xml ./templates/en/nav.xsl ./templates/en/footer.shtml build nginx_autoindex.xsl: xinclude nginx_autoindex.xsl.in | ./templates/head.xml ./templates/en/nav.xsl ./templates/en/footer.shtml build articles/2022$ Summary.html: article entry.xsl articles/2022$ Summary.xml -build articles/2024-11-19-bloguidien-ile-deserte.html: article entrée.xsl articles/2024-11-19-bloguidien-ile-deserte.xml +build articles/2024-11-19-bloguidien-ile-deserte.html: article_fr entrée.xsl articles/2024-11-19-bloguidien-ile-deserte.xml build articles/T495-4Y-later.html: article entry.xsl articles/T495-4Y-later.xml build articles/Why$ I$ embraced$ Wayland.html: article entry.xsl articles/Why$ I$ embraced$ Wayland.xml build articles/bootstrap-initrd.html: article entry.xsl articles/bootstrap-initrd.xml diff --git a/configure b/configure @@ -24,7 +24,7 @@ do i="${i// /$ }" # ' ' → '$ ' if grep -q -F 'xml:lang="fr"' "$file"; then - echo "build ${i//.xml/.html}: article entrée.xsl ${i}" + echo "build ${i//.xml/.html}: article_fr entrée.xsl ${i}" else echo "build ${i//.xml/.html}: article entry.xsl ${i}" fi