Skip to content

Commit 0452a5f

Browse files
committed
feat(frontmatter): edit frontmatter handling
1 parent 1e56d77 commit 0452a5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
3636
</span>
3737
{% endif %}
3838

39-
{% if page.image and page.show_image != false %}
39+
{% if page.image and page.image.post != false %}
4040
{% capture src %}src="{{ page.image.path | default: page.image }}"{% endcapture %}
4141
{% capture class %}class="preview-img{% if page.image.no_bg %}{{ ' no-bg' }}{% endif %}"{% endcapture %}
4242
{% capture alt %}alt="{{ page.image.alt | xml_escape | default: "Preview Image" }}"{% endcapture %}

0 commit comments

Comments
 (0)