Skip to content

Commit 667d18e

Browse files
committed
Bugfix on post layout
1 parent 2e1ab5f commit 667d18e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

_layouts/post.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ <h1>{{ page.title }}</h1>
4848
</div>
4949
</header>
5050
<div class="article-header-img px-2">
51-
{% if post.blurb_img %}
52-
<img src="{{post.blurb_img}}" alt="header image for {{post.title}}">
51+
{% if page.blurb_img %}
52+
<img src="{{page.blurb_img}}" alt="header image for {{page.title}}">
5353
{% else %}
5454
<img src="/assets/images/blog/default.jpg"
55-
alt="header image for {{post.title}}">
55+
alt="header image for {{page.title}}">
5656
{% endif %}
5757
{% if page.blurb_img_source %}
5858
<div class="img-source">{{page.blurb_img_source}}</div>

0 commit comments

Comments
 (0)