Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- </html>
- <head>
- <title>blog</title>
- </head>
- <body>
- <h1>Blog</h1>
- {% if [blogs|count] > 1 %}
- {% for blog in blogs %}
- <div class="blog">
- <a class="blog-subject" href=http://localhost:8836/blog/{{blog.key().id()}}>
- >{{blog.subject}}{{blog.created}}
- </a>
- <pre class="blog-content">{{blog.content}}</pre>
- </div>
- {% endfor %}
- {% elif blogs.count() == 1 %}
- <div class="blog">
- <a class="blog-subject" href=http://localhost:8836/blog/{{blog.key().id()}}>
- >{{blog.subject}}{{blog.created}}
- </a>
- <pre class="blog-content">{{blog.content}}</pre>
- </div>
- {% endif %}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement