- <p>
- You have the following blog posts available:
- </p>
- <ul>
- {% for post in post_list %}
- <li>
- <a href="/post/{{ post.id }}">{{ post.title|title }}</a>
- </li>
- {% empty %}
- <li>
- No posts available yet. Try to <a href="/admin">log in</a> and post
- something!
- </li>
- {% endfor %}
- </ul>
|