forked from slonk/bingus-blog
add note when there are no posts
This commit is contained in:
parent
e44f4e48b9
commit
b0bc2ea611
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@
|
|||
<h2>posts</h2>
|
||||
<!-- prettier-ignore -->
|
||||
<div>
|
||||
{% if posts.is_empty() %}
|
||||
there are no posts right now. check back later!
|
||||
{% endif %}<!-- prettier-br -->
|
||||
{% for post in posts %}
|
||||
<div class="post">
|
||||
<a href="/posts/{{ post.name }}"><b>{{ post.title }}</b></a>
|
||||
|
|
Loading…
Reference in a new issue