template
All checks were successful
/ build (push) Successful in 2m16s

This commit is contained in:
sneakers-the-rat 2024-07-06 00:07:14 -07:00
parent 5551966dee
commit 205df35fbb
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
3 changed files with 23 additions and 5 deletions

22
_assets/default.html Normal file
View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en" prefix="foaf: http://xmlns.com/foaf/0.1/">
{% include head.html %}
<body>
{% if page.navigation %}
{% include navigation.html %}
{% endif %}
<main page="{{ page.page_name }}">
<!-- <div class="container"> -->
{{ content }}
<!-- </div> -->
</main>
{% include footer.html %}
</body>
</html>

View file

@ -34,7 +34,7 @@ module.exports = {
// Generates deprecation warning: https://github.com/jantimon/html-webpack-plugin/issues/1501 // Generates deprecation warning: https://github.com/jantimon/html-webpack-plugin/issues/1501
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
// favicon: paths.src + '/images/favicon.png', // 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 filename: '../src/_layouts/default.html' // output file
}), }),
], ],

View file

@ -4,7 +4,3 @@
@import 'scaffolding'; @import 'scaffolding';
@import 'layout'; @import 'layout';
@import 'text'; @import 'text';
@import 'pages/home';
@import 'pages/console';
@import 'pages/pong';