diff --git a/_includes/head.njk b/_includes/head.njk index e7de9cc..7ae7887 100644 --- a/_includes/head.njk +++ b/_includes/head.njk @@ -19,17 +19,17 @@ {# - - + + #} - {# + {# #} diff --git a/_includes/layouts/page.njk b/_includes/layouts/page.njk index ab3beab..fd1aa7f 100644 --- a/_includes/layouts/page.njk +++ b/_includes/layouts/page.njk @@ -4,8 +4,8 @@ layout: base.njk

{{ title }}

-{% if data.hero %} - {{ data.hero.alt }} +{% if hero %} + {{ hero.alt }} {% endif %} {{ content | safe }} diff --git a/css/main.css b/css/main.css index 02f077c..b41005f 100644 --- a/css/main.css +++ b/css/main.css @@ -31,6 +31,7 @@ body { img, picture, video, canvas, svg { display: block; max-width: 100%; + height: auto; } /* 7. Inherit fonts for form controls */