logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: fbbe3fe6a6ceda2528ca7109707da00d57ba0d52
parent 60e58b6797732e242c8c3b9fce7fc6f1134e0fbd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 13 Mar 2023 12:45:47 +0100

bookmarks: Add brotli compression

Diffstat:

Abookmarks.html.br0
Mbuild.ninja6++++++
Mconfig.ninja1-
Mconfigure1-
4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/bookmarks.html.br b/bookmarks.html.br Binary files differ. diff --git a/build.ninja b/build.ninja @@ -16,8 +16,14 @@ build notes/index.xhtml: notes_index ./notes | ./notes_index.pm rule dot command = dot -T$format -o$out $in +rule brotli + command = brotli -k -f -Z -o $out $in && touch $out + include config.ninja +build bookmarks.html: xslt bookmarks.xsl bookmarks.xbel +build bookmarks.html.br: brotli bookmarks.html + build images/linux-audio-output.png: dot images/linux-audio-output.dot format = png build images/linux-audio-output.svg: dot images/linux-audio-output.dot diff --git a/config.ninja b/config.ninja @@ -7,7 +7,6 @@ build config.ninja: gen_config configure | ./articles build entry.xsl: xinclude entry.xsl.in | ./templates/head.xml ./templates/en/nav.xsl ./templates/en/footer.shtml build bookmarks.xsl: xinclude bookmarks.xsl.in | ./templates/head.xml ./templates/en/nav.xsl ./templates/en/footer.shtml -build bookmarks.html: xslt bookmarks.xsl bookmarks.xbel build articles/2022$ Summary.html: article entry.xsl articles/2022$ Summary.xml build articles/Why$ I$ embraced$ Wayland.html: article entry.xsl articles/Why$ I$ embraced$ Wayland.xml build articles/cve.org-disaster.html: article entry.xsl articles/cve.org-disaster.xml diff --git a/configure b/configure @@ -11,7 +11,6 @@ build config.ninja: gen_config configure | ./articles build entry.xsl: xinclude entry.xsl.in | ${templates_en} build bookmarks.xsl: xinclude bookmarks.xsl.in | ${templates_en} -build bookmarks.html: xslt bookmarks.xsl bookmarks.xbel EOF for i in articles/*.xml