diff --git a/package.json b/package.json index 8b61bc7ba..202cd3035 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,8 @@ "John Gruen " ], "private": true, + "title": "Firefox Themer", + "homepage": "https://mozilla.github.io/Themer/", "main": "src/web/index.js", "config": { "GA_TRACKING_ID": "UA-114768519-1" diff --git a/src/web/index.html.ejs b/src/web/index.html.ejs index 225ad2e4a..204651d48 100644 --- a/src/web/index.html.ejs +++ b/src/web/index.html.ejs @@ -3,17 +3,17 @@ - + - - + + - + - - - Firefox Themer + + + <%= htmlWebpackPlugin.options.title %> diff --git a/webpack.web.js b/webpack.web.js index 530409519..9d9f9791c 100644 --- a/webpack.web.js +++ b/webpack.web.js @@ -6,6 +6,7 @@ const merge = require("webpack-merge"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); +const pkg = require("./package.json"); const common = require("./webpack.common.js"); module.exports = merge(common.webpackConfig, { @@ -24,7 +25,10 @@ module.exports = merge(common.webpackConfig, { new HtmlWebpackPlugin({ template: "./src/web/index.html.ejs", filename: "index.html", - chunks: ["index"] + chunks: ["index"], + title: pkg.title, + description: pkg.description, + homepage: pkg.homepage }), new CopyWebpackPlugin([ { from: "./src/images", to: "images" },