From 205df35fbb5a06f4b671052d7910e215a6506575 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Sat, 6 Jul 2024 00:07:14 -0700 Subject: [PATCH] template --- _assets/default.html | 22 ++++++++++++++++++++++ config/webpack.common.js | 2 +- src/_scss/index.scss | 4 ---- 3 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 _assets/default.html diff --git a/_assets/default.html b/_assets/default.html new file mode 100644 index 0000000..71b5460 --- /dev/null +++ b/_assets/default.html @@ -0,0 +1,22 @@ + + + +{% include head.html %} + + + +{% if page.navigation %} +{% include navigation.html %} +{% endif %} + +
+ + {{ content }} + +
+ + + +{% include footer.html %} + + diff --git a/config/webpack.common.js b/config/webpack.common.js index 9c48c08..68aa0db 100644 --- a/config/webpack.common.js +++ b/config/webpack.common.js @@ -34,7 +34,7 @@ module.exports = { // Generates deprecation warning: https://github.com/jantimon/html-webpack-plugin/issues/1501 new HtmlWebpackPlugin({ // favicon: paths.src + '/images/favicon.png', - template: './_assets/template.html', // template file + template: './_assets/default.html', // template file filename: '../src/_layouts/default.html' // output file }), ], diff --git a/src/_scss/index.scss b/src/_scss/index.scss index 9c4cd13..66e39c7 100644 --- a/src/_scss/index.scss +++ b/src/_scss/index.scss @@ -4,7 +4,3 @@ @import 'scaffolding'; @import 'layout'; @import 'text'; - -@import 'pages/home'; -@import 'pages/console'; -@import 'pages/pong';