diff --git a/src/creators.html b/src/creators.hbs similarity index 57% rename from src/creators.html rename to src/creators.hbs index 766dc3b..ff0f543 100644 --- a/src/creators.html +++ b/src/creators.hbs @@ -14,18 +14,7 @@ -
- - - -
+ {{> views/header }}
Creators
diff --git a/src/discover.html b/src/discover.hbs similarity index 57% rename from src/discover.html rename to src/discover.hbs index 43d729a..3d4e727 100644 --- a/src/discover.html +++ b/src/discover.hbs @@ -14,18 +14,7 @@ -
- - - -
+ {{> views/header }}
Discover
diff --git a/src/views/header.hbs b/src/views/header.hbs index b95ce10..086bbdb 100644 --- a/src/views/header.hbs +++ b/src/views/header.hbs @@ -2,10 +2,10 @@ diff --git a/webpack.config.js b/webpack.config.js index 45d41b8..662787c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,16 @@ module.exports = { }, plugins: [ new HtmlWebpackPlugin({ - template: "./src/index.hbs" + template: "./src/index.hbs", + filename: "index.html" + }), + new HtmlWebpackPlugin({ + template: "./src/creators.hbs", + filename: "creators.html" + }), + new HtmlWebpackPlugin({ + template: "./src/discover.hbs", + filename: "discover.html" }), new CopyPlugin({ patterns: [