diff --git a/package.json b/package.json index 1e82e43..8e24719 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,13 @@ "description": "", "main": "index.js", "scripts": { + "build": "cross-env NODE_ENV=production npm-run-all clean - p build:*", + "build:eleventy": "eleventy", + "build:webpack": "webpack", + "clean": "rm -rf dist", + "start": "npm-run-all clean -p build:* -p start:*", + "start:eleventy": "eleventy --serve --quiet", + "start:webpack": "webpack --watch", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], diff --git a/src/_includes/layout.njk b/src/_includes/layout.njk index 7a98ea7..06afe84 100644 --- a/src/_includes/layout.njk +++ b/src/_includes/layout.njk @@ -9,7 +9,9 @@ {{title}} - -
+ +
+ {{content}} +
\ No newline at end of file diff --git a/src/index.njk b/src/index.njk new file mode 100644 index 0000000..912e89a --- /dev/null +++ b/src/index.njk @@ -0,0 +1,8 @@ +--- +title: Homepage +layout: layout.njk +--- + +
+

Hello to our blog

+