Skip to content

Commit 3bf1949

Browse files
authored
Merge pull request #170 from Cheukting/update-post-template
fix project is none
2 parents 55657b7 + 3f2915f commit 3bf1949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2>{{ page.title }}</h2>
3030
</div>
3131
{% endif %}
3232

33-
{% if project.name is defined %}
33+
{% if project.name is not none %}
3434
{% if project.logo %}
3535
<img class="post__project-logo" src="{{ site.baseurl }}/{{ project.logo }}">
3636
{% endif %}

0 commit comments

Comments
 (0)