logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git
commit: 323f02aca2e1e91641eed45df7705119cc9ccc78
parent 264a8e636998fa54e85d75e9d981de669c1910bf
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  3 Feb 2023 16:40:54 +0100

templates/head.xml: Froce </script> presence

Diffstat:

MMakefile9+++++++--
Marticles/2022 Summary.html2+-
Mbookmarks.html2+-
Mtemplates/head.xml2+-
4 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,9 +1,14 @@ +TEMPLATES_EN = templates/head.xml templates/en/nav.xml templates/en/footer.shtml + .PHONY: all -all: bookmarks.shtml linux-audio-output +all: bookmarks.html linux-audio-output images/avatar.png images/avatar_HD.png articles/2022\ Summary.html -bookmarks.html: bookmarks.xbel bookmarks.xsl templates/head.shtml templates/en/nav.shtml templates/en/footer.shtml +bookmarks.html: bookmarks.xbel bookmarks.xsl $(TEMPLATES_EN) xsltproc --nonet bookmarks.xsl bookmarks.xbel | xmllint --xinclude --encode utf-8 --nofixup-base-uris --nsclean - | sed '1d' > $@ +articles/2022\ Summary.html: articles/2022\ Summary.xml entry.xsl $(TEMPLATES_EN) + xsltproc --nonet entry.xsl articles/2022\ Summary.xml | xmllint --xinclude --encode utf-8 --nofixup-base-uris --nsclean - | sed '1d' > "$@" + .PHONY: linux-audio-output linux-audio-output: images/linux-audio-output.png images/linux-audio-output.svg images/linux-audio-output-current.png images/linux-audio-output-current.svg diff --git a/articles/2022 Summary.html b/articles/2022 Summary.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> <title>2022 Summary - lanodan's cyber-home</title> </head> <body> diff --git a/bookmarks.html b/bookmarks.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xml:lang="en" lang="en"> <head> - <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101"/> + <meta charset="utf-8"/><link rel="stylesheet" type="text/css" href="/css/index.css?serial=2022122601"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/><link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/><meta property="og:image" content="/images/avatar.png?serial=2020111201"/><script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> <title>Bookmarks - lanodan's cyber-home</title> </head> <body> diff --git a/templates/head.xml b/templates/head.xml @@ -5,5 +5,5 @@ <link rel="vcs-git" href="https://gitlab.com/lanodan/blog.git" title="gitlab"/> <link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/> <meta property="og:image" content="/images/avatar.png?serial=2020111201"/> - <script src="/javascript/anti-cohort.js?serial=2021042101"></script> + <script src="/javascript/anti-cohort.js?serial=2021042101">/**/</script> </xml>