From 05c0a5b7eb677ff9dcaf69e02ddc25e5626b9627 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 28 Jul 2019 21:51:17 +0200 Subject: [PATCH] Rename html template --- Dockerfile | 2 +- frontend/build.sh | 2 +- frontend/template.html | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 frontend/template.html diff --git a/Dockerfile b/Dockerfile index f7f5bff..86d1254 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk add -U --upgrade --no-cache gettext RUN yarn global add elm elm-test uglify-js COPY ./frontend/build.sh ./build.sh -COPY ./frontend/index.html ./index.html +COPY ./frontend/template.html ./template.html COPY ./frontend/elm.json ./elm.json COPY ./frontend/src ./src COPY ./frontend/tests ./tests diff --git a/frontend/build.sh b/frontend/build.sh index 061664d..0d058e7 100755 --- a/frontend/build.sh +++ b/frontend/build.sh @@ -28,7 +28,7 @@ rename_with_hash() { create_index() { sha1=${1} - SHA1="${sha1}" envsubst < index.html > "${outdir}/index.html" + SHA1="${sha1}" envsubst < template.html > "${outdir}/index.html" } prepare diff --git a/frontend/template.html b/frontend/template.html new file mode 100644 index 0000000..c2d7250 --- /dev/null +++ b/frontend/template.html @@ -0,0 +1,16 @@ + + + + + Main + + + +
+ + + +