From ef8bd8d22b8fea05a4b7f4c1a3c4e6fe59a4632c Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Thu, 20 Sep 2018 19:04:43 +0200 Subject: [PATCH] Use node.properties.status instead of node.status --- 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 f6aed0c..65a3568 100644 --- a/src/templates/nodes/custom/blog/_macros.pug +++ b/src/templates/nodes/custom/blog/_macros.pug @@ -6,7 +6,7 @@ include ../../../../../../pillar/src/templates/mixins/components | {% if node.picture %} +jumbotron( "{{ node.name }}", - "{{ node._created | pretty_date }}{% if node.user.full_name %} · {{ node.user.full_name }}{% endif %}{% if node.status != 'published' %} · {{ node.status }}{% endif %}", + "{{ node._created | pretty_date }}{% if node.user.full_name %} · {{ node.user.full_name }}{% endif %}{% if node.properties.status != 'published' %} · {{ node.properties.status }}{% endif %}", "{{ node.picture.thumbnail('h', api=api) }}", "{{ node.url }}")( class="jumbotron-overlay")