From f3255edba7264c1068a84cf14d942430a0e66fba Mon Sep 17 00:00:00 2001 From: Eric You <31189594+ericworks@users.noreply.github.com> Date: Fri, 8 Nov 2019 00:32:37 +1100 Subject: [PATCH] fix bug: postlist with picture post All the following post after a picture post will have no title section. Set headlessPost = false --- _includes/_macro/post.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/_macro/post.html b/_includes/_macro/post.html index 0036aabf0d..e595cc65c4 100644 --- a/_includes/_macro/post.html +++ b/_includes/_macro/post.html @@ -1,5 +1,6 @@ {% comment %} post(post, is_index, post_extra_class) {% endcomment %} + {% assign headlessPost = false %} {% if 'quote, picture' contains post.type %} {% assign headlessPost = true %} {% endif %}