From: Amélia Coutard-Sander Date: Sat, 21 Jun 2025 01:57:48 +0000 (+0200) Subject: Au final, changeons complètement: vive bash ! X-Git-Url: https://git.ameliathe1st.gay/?a=commitdiff_plain;h=7b3d89d8ea8f43348ff2184dcc36a04178468866;p=site-web.git Au final, changeons complètement: vive bash ! --- diff --git a/.gitignore b/.gitignore index 8a8c3a3..1fcb152 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1 @@ -# Haskell: out -# Hakyll: -_cache -_site -/*.pdf diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..57f6ec4 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +.PHONY: build clean + +HTML=$(patsubst html/%.esh,out/%,$(shell find html -name '*.esh')) +DOCS=$(patsubst %,out/docs/%,$(shell recsel -P file docs/meta.rec)) + +build: $(HTML) $(DOCS) +clean: + rm -rf out + +out/docs/%: docs/% + mkdir -p "$(@D)" + cp "$<" "$@" +out/docs/%.pdf: docs/%.ly + mkdir -p "$(@D)" + lilypond -o "$(@D)" "$<" + +out/%: html/%.esh + mkdir -p "$(@D)" + sh esh.sh < "$<" > "$@" + diff --git a/docs/AmyMono-Regular-FontForge.sfd.metadata b/docs/AmyMono-Regular-FontForge.sfd.metadata deleted file mode 100644 index 19c7a12..0000000 --- a/docs/AmyMono-Regular-FontForge.sfd.metadata +++ /dev/null @@ -1,4 +0,0 @@ -title: AmyMono Regular (Source FontForge) -tags: police -date: 2023-11-20 -description: La source (pour le logiciel fontforge) de la police de caractères monospace que j'ai faite. diff --git a/docs/AmyMono-Regular.otf.metadata b/docs/AmyMono-Regular.otf.metadata deleted file mode 100644 index c452d0d..0000000 --- a/docs/AmyMono-Regular.otf.metadata +++ /dev/null @@ -1,4 +0,0 @@ -title: AmyMono Regular (Fichier OTF) -tags: police -date: 2023-11-20 -description: La police de caractères monospace que j'ai faite. diff --git "a/docs/Little Nightmares II - \303\211tude For A Minor.pdf.metadata" "b/docs/Little Nightmares II - \303\211tude For A Minor.pdf.metadata" deleted file mode 100644 index 3b8c594..0000000 --- "a/docs/Little Nightmares II - \303\211tude For A Minor.pdf.metadata" +++ /dev/null @@ -1,4 +0,0 @@ -title: Little Nightmares II - Étude For A Minor -tags: musique, partition, Little Nightmares -date: 2023-07-21 -description: Un arrangement pour piano de la musique "Étude For A Minor", de la bande originale de Little Nightmares II. diff --git "a/docs/Little Nightmares II - \303\211tude For A Minor.pdf" "b/docs/Little-Nightmares-II-\303\211tude-For-A-Minor.pdf" similarity index 100% rename from "docs/Little Nightmares II - \303\211tude For A Minor.pdf" rename to "docs/Little-Nightmares-II-\303\211tude-For-A-Minor.pdf" diff --git a/docs/Ma'oz Tzur.ly.metadata b/docs/Ma'oz Tzur.ly.metadata deleted file mode 100644 index a028037..0000000 --- a/docs/Ma'oz Tzur.ly.metadata +++ /dev/null @@ -1,4 +0,0 @@ -title: Ma'oz Tzur -tags: musique, partition, Judaïsme -date: 2024-06-16 -description: Une partition pour accordéon de mon arrangement de Ma'oz Tzur. diff --git a/docs/Ma'oz Tzur.ly b/docs/Ma-oz-Tzur.ly similarity index 100% rename from docs/Ma'oz Tzur.ly rename to docs/Ma-oz-Tzur.ly diff --git a/docs/MoringMark - Triangle Glyph.pdf b/docs/MoringMark - Triangle Glyph.pdf deleted file mode 100644 index 2fbb3b3..0000000 Binary files a/docs/MoringMark - Triangle Glyph.pdf and /dev/null differ diff --git a/docs/MoringMark - Triangle Glyph.pdf.metadata b/docs/MoringMark - Triangle Glyph.pdf.metadata deleted file mode 100644 index 63bcd4d..0000000 --- a/docs/MoringMark - Triangle Glyph.pdf.metadata +++ /dev/null @@ -1,4 +0,0 @@ -title: MoringMark - Triangle Glyph -tags: storyboard, The Owl House -date: 2022-01-10 -description: Un storyboard que j'ai fait pour mon adaptation en stop-motion d'un comic de MoringMark. diff --git a/docs/The Owl House - Outro Theme.pdf.metadata b/docs/The Owl House - Outro Theme.pdf.metadata deleted file mode 100644 index dbfa47f..0000000 --- a/docs/The Owl House - Outro Theme.pdf.metadata +++ /dev/null @@ -1,4 +0,0 @@ -title: The Owl House - Outro Theme -tags: musique, partition, The Owl House -date: 2023-06-14 -description: Un arrangement pour piano de la musique de générique de fin d'épisode de The Owl House. diff --git a/docs/The Owl House - Outro Theme.pdf b/docs/The-Owl-House-Outro-Theme.pdf similarity index 100% rename from docs/The Owl House - Outro Theme.pdf rename to docs/The-Owl-House-Outro-Theme.pdf diff --git a/docs/meta.rec b/docs/meta.rec new file mode 100644 index 0000000..4cb9920 --- /dev/null +++ b/docs/meta.rec @@ -0,0 +1,22 @@ +%rec: Doc +%mandatory: file title date + +file: AmyMono-Regular-FontForge.sfd +title: AmyMono Regular (Source FontForge) +date: 2023-11-20 + +file: AmyMono-Regular.otf +title: AmyMono Regular (Fichier OTF) +date: 2023-11-20 + +file: Little-Nightmares-II-Étude-For-A-Minor.pdf +title: Little Nightmares II - Étude For A Minor +date: 2023-07-21 + +file: Ma-oz-Tzur.pdf +title: Ma'oz Tzur +date: 2024-06-16 + +file: The-Owl-House-Outro-Theme.pdf +title: The Owl House - Outro Theme +date: 2023-06-14 diff --git a/esh.sh b/esh.sh new file mode 100755 index 0000000..81922a2 --- /dev/null +++ b/esh.sh @@ -0,0 +1,6 @@ +while read -r line; do + case "$line" in + "#"*) echo "$(echo "$line" | sed "s/#//")";; + *) echo "echo '$(echo "$line" | sed "s/'/''/g")'";; + esac +done | sh diff --git a/html/atom.xml b/html/atom.xml deleted file mode 100644 index 6f5e960..0000000 --- a/html/atom.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - https://ameliathe1st.gay/ - AméliaThe1st - - $datetime$ - - Amélia Coutard - contact@ameliathe1st.gay - https://ameliathe1st.gay - - - $for(docs)$ - - $title$ - - https://ameliathe1st.gay$url$ - $datetime$ - $description$ - - $endfor$ - - diff --git a/html/atom.xml.esh b/html/atom.xml.esh new file mode 100644 index 0000000..72afa50 --- /dev/null +++ b/html/atom.xml.esh @@ -0,0 +1,23 @@ + + + + https://ameliathe1st.gay/ + AméliaThe1st + + # echo "$(recsel -P date docs/meta.rec -S date | tail -n 1)T00:00:00Z" + + Amélia Coutard + contact@ameliathe1st.gay + https://ameliathe1st.gay + + + # recsel -P file docs/meta.rec -C -S date | tail -n 10 | while read -r file; do + + # echo "$(recsel -e "file = \"$file\"" -P title docs/meta.rec)" + # echo "" + # echo "https://ameliathe1st.gay/docs/$(printf '%s' "$file" | jq -Rr @uri)" + # echo "$(recsel -e "file = \"$file\"" -P date docs/meta.rec)T00:00:00Z" + + # done + + diff --git a/html/index.html b/html/index.html.esh similarity index 94% rename from html/index.html rename to html/index.html.esh index 1214549..0ec13cd 100644 --- a/html/index.html +++ b/html/index.html.esh @@ -9,9 +9,9 @@

Mes dernières publications:

Des liens: