diff --git a/_includes/layouts/post.njk b/_includes/layouts/post.njk index 3de01c5..28fd754 100644 --- a/_includes/layouts/post.njk +++ b/_includes/layouts/post.njk @@ -40,6 +40,19 @@ withBlogSidebar: true {% endif %} + {# Render photo(s) from frontmatter for photo posts - use eleventy:ignore to skip image transform #} + {% if photo %} + + {% endif %} +
{{ content | safe }}
diff --git a/photos.njk b/photos.njk index 9893078..7299d25 100644 --- a/photos.njk +++ b/photos.njk @@ -17,19 +17,16 @@ permalink: /photos/ {{ post.date | dateDisplay }} - {# Render photo(s) from frontmatter #} + {# Render photo(s) from frontmatter - use eleventy:ignore to skip image transform #} {% if post.data.photo %} -