mirror of
https://github.com/adulau/art.git
synced 2024-11-24 19:17:07 +00:00
Wrapped if statement around post.date
This commit is contained in:
parent
0d6e5bcddd
commit
b05018909f
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
<h1>{{ post.title }}</h1>
|
||||
</header>
|
||||
{% if post.image %}<span class="image main"><img src="{{ site.baseurl }}/{{ post.image }}" alt="" /></span>{% endif %}
|
||||
<p>{{ post.date }}</p>
|
||||
{% if post.date %}<p>{{ post.date }}</p>{% endif %}
|
||||
<p>{{ post.content }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue