From 26810823c98f284e454697dd92440b54e37988af Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 22 Nov 2022 21:31:49 +0100 Subject: [PATCH] Move the website to https://gnutoo.srht.site/libreboot/ Without that we can only have one website. Signed-off-by: Denis 'GNUtoo' Carikli --- .gitignore | 1 + Makefile | 9 +++++++-- index.html.tmpl | 29 +++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 index.html.tmpl diff --git a/.gitignore b/.gitignore index 1c5010b..d64ff3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /untitled/ /id_oauth2_bearer +/index.html /website.tar.gz diff --git a/Makefile b/Makefile index 2d40fd2..d4b62f8 100644 --- a/Makefile +++ b/Makefile @@ -47,8 +47,12 @@ upload: website.tar.gz -Fcontent=@website.tar.gz \ https://pages.sr.ht/publish/$(DOMAIN) +index.html: index.html.tmpl + sed 's/DOMAIN/$(DOMAIN)/' $? > $@ + # See https://reproducible-builds.org/docs/archives/ for more details -website.tar.gz: build +website.tar.gz: build index.html + sed 's/DOMAIN/$(DOMAIN)/' index.html.tmpl > index.html tar \ --format=gnu \ --mtime='1970-01-01 00:00Z' \ @@ -57,4 +61,5 @@ website.tar.gz: build -czf \ website.tar.gz \ untitled/www/lbwww/site/ \ - --transform="s#untitled/www/lbwww/site/##" \ + index.html \ + --transform="s#untitled/www/lbwww/site/#libreboot/#" \ diff --git a/index.html.tmpl b/index.html.tmpl new file mode 100644 index 0000000..6d3aead --- /dev/null +++ b/index.html.tmpl @@ -0,0 +1,29 @@ + + + + + DOMAIN + + + +

Services:

+ + +