From 40d23c537e676cd913668b692f3c47757ea86b57 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Fri, 4 Mar 2022 13:07:34 +0100 Subject: [PATCH] Compile static title into index.html (fixes #148) --- frontend/src/index.ejs | 4 +++- frontend/webpack.config.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/index.ejs b/frontend/src/index.ejs index 3d047a6..016568c 100644 --- a/frontend/src/index.ejs +++ b/frontend/src/index.ejs @@ -1,6 +1,8 @@ - + + <%= htmlWebpackPlugin.options.title %> +
diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 0231a3a..0930c34 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -131,6 +131,7 @@ module.exports = function (webpackEnv) { plugins: [ new HtmlWebpackPlugin({ base: baseUrl, + title: 'OpenBikeSensor Portal', meta: { charset: 'utf-8', viewport: 'width=device-width, initial-scale=1',