diff --git a/_includes/footer.njk b/_includes/footer.njk index f53c212..5e0ea02 100644 --- a/_includes/footer.njk +++ b/_includes/footer.njk @@ -1,7 +1,2 @@ diff --git a/_includes/header.njk b/_includes/header.njk index a2f499f..5048019 100644 --- a/_includes/header.njk +++ b/_includes/header.njk @@ -1,23 +1,4 @@
- +
diff --git a/_includes/layouts/page.njk b/_includes/layouts/page.njk index 44515f9..7004385 100644 --- a/_includes/layouts/page.njk +++ b/_includes/layouts/page.njk @@ -4,4 +4,6 @@ layout: base.njk

{{ title }}

+{{ data.hero.alt }} + {{ content | safe }} diff --git a/eleventy.config.js b/eleventy.config.js index f734708..df5b439 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -31,6 +31,9 @@ export default async function (eleventyConfig) { // output image widths widths: ["auto"], + // fail on error + failOnError: true, + // optional, attributes assigned on nodes override these values htmlOptions: { imgAttributes: { diff --git a/package-lock.json b/package-lock.json index 43a8ce7..1c7aa9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "11ty", + "name": "mattrbld-test", "version": "1.0.0", "lockfileVersion": 3, "requires": true,