From 18fe240b931ab8dbd3a8a9fb6760c8b8cdba7ad3 Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 18 Jan 2018 11:37:55 +0100 Subject: [PATCH] Fix for broken url in blog post header image --- src/templates/nodes/custom/blog/_macros.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/nodes/custom/blog/_macros.pug b/src/templates/nodes/custom/blog/_macros.pug index e583186d..df9157e7 100644 --- a/src/templates/nodes/custom/blog/_macros.pug +++ b/src/templates/nodes/custom/blog/_macros.pug @@ -1,7 +1,7 @@ //- ******************************************************* -// | {% macro render_blog_post(node) %} | {% if node.picture %} -a.blog_index-header(href="{{ node.url }}") +a.blog_index-header(href="{{ node.properties.url }}") img(src="{{ node.picture.thumbnail('l', api=api) }}") | {% endif %}