parent
5551966dee
commit
205df35fbb
3 changed files with 23 additions and 5 deletions
22
_assets/default.html
Normal file
22
_assets/default.html
Normal 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>
|
|
@ -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
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
|
@ -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';
|
|
||||||
|
|
Loading…
Reference in a new issue