init
This commit is contained in:
commit
5309e0593b
22 changed files with 722 additions and 0 deletions
blog/templates/entries
13
blog/templates/entries/index.html
Normal file
13
blog/templates/entries/index.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
{% extends "layout.html" %}
|
||||
{% block body %}
|
||||
<ul>
|
||||
{% for entry in entries %}
|
||||
<li>
|
||||
<h5>{{ entry.title }}</h5>
|
||||
<a href="{{ url_for('show_entry', id=entry.id) }}">続きを読む</a>
|
||||
</li>
|
||||
{% else %}
|
||||
投稿がありません
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue