forked from slonk/bingus-blog
add note when there are no posts
This commit is contained in:
parent
95cd0323a2
commit
c1e1670db3
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