posts.html 303 B

1234567891011121314
  1. {% extends 'base.html' %}
  2. {% block title %}文章列表{% endblock %}
  3. {% block content %}
  4. <h1>文章列表</h1>
  5. <div class='mdui-list'>
  6. {% for post in posts %}
  7. <a href="{{ url_for('post',id=post['id']) }}" class="mdui-list-item mdui-ripple">{{ post['title'] }}</a>
  8. {% endfor %}
  9. </div>
  10. {% endblock %}