diff --git a/_layouts/page.njk b/_layouts/page.njk new file mode 100644 index 0000000..83e842a --- /dev/null +++ b/_layouts/page.njk @@ -0,0 +1,11 @@ + + + + + + {% if title %}{{ title }} | {% endif %}ESE {{ year }} + + + {{ content | safe }} + + diff --git a/content/index.md b/content/index.md index 84f1ee8..1b3d5a0 100644 --- a/content/index.md +++ b/content/index.md @@ -1 +1,4 @@ +--- +layout: page.njk +--- # Hello World :) diff --git a/eleventy.config.js b/eleventy.config.js index dbce87a..0e49782 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -11,6 +11,9 @@ module.exports = function(eleventyConfig) { return { dir: { input: "content", + includes: "../_includes", + layouts: "../_layouts", + data: "../_data", }, pathPrefix: `/${year}/`, }