diff --git a/client/package.json b/client/package.json
index 558d98b2..bf4513fb 100644
--- a/client/package.json
+++ b/client/package.json
@@ -1,7 +1,8 @@
{
"name": "starhackit-ui",
+ "title": "StartHack.It",
"version": "2.5.0",
- "description": "React/Redux starter kit",
+ "description": "React + node starter kit. A fullstack boilerplate written in ES6/7 with authentication and authorisation",
"homepage": "https://github.com/FredericHeem/starhackit",
"license": "NLPL",
"scripts": {
diff --git a/client/src/index.ejs b/client/src/index.ejs
index f553cf1b..867b0bcd 100644
--- a/client/src/index.ejs
+++ b/client/src/index.ejs
@@ -2,14 +2,11 @@
- StarHackIt
-
+ <%= htmlWebpackPlugin.options.title %>
+
- <% for (var css in htmlWebpackPlugin.files.css) { %>
-
- <% } %>
@@ -39,7 +36,7 @@
}
-
Starhack.it
+ <%= htmlWebpackPlugin.options.title %>
@@ -48,10 +45,6 @@
-
-<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
-
-<% } %>
diff --git a/client/webpack.config.js b/client/webpack.config.js
index 58bb3fb2..d2afc3cd 100644
--- a/client/webpack.config.js
+++ b/client/webpack.config.js
@@ -54,7 +54,8 @@ module.exports = function ( options ) {
//new ExtractTextPlugin('[name].[chunkhash].css'),
new HtmlWebpackPlugin({
template: 'src/index.ejs',
- inject: false
+ title: pkg.title,
+ description: pkg.description
}),
new webpack.DefinePlugin( {
__VERSION__: JSON.stringify(pkg.version)