From 9d6447c7c5d76c2048ead843f05506e09c89940d Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 30 Dec 2020 19:24:20 +0100 Subject: Templatize index --- build.sh | 2 +- index.html | 82 +++++++------------------------------------------------------- index.sh | 2 ++ 3 files changed, 12 insertions(+), 74 deletions(-) create mode 100644 index.sh diff --git a/build.sh b/build.sh index 62487bd..fe0d551 100755 --- a/build.sh +++ b/build.sh @@ -26,7 +26,7 @@ done sed -i /'{STYLESHEETS}'/'c\'"${link_stylesheets}" ${output} -if test "${current_div}" +if test "${current_div:-}" then sed -i s"${current_div}" ${output} fi diff --git a/index.html b/index.html index dc1b228..c3f6e7d 100644 --- a/index.html +++ b/index.html @@ -1,75 +1,11 @@ - - - - - Bienvenue - Quatuor Camelot - - - - - - - -
- -
- - - - - - + + + diff --git a/index.sh b/index.sh new file mode 100644 index 0000000..86bd36c --- /dev/null +++ b/index.sh @@ -0,0 +1,2 @@ +title=Bienvenue +stylesheets=(index) -- cgit v1.2.3