Update
This commit is contained in:
parent
584c07ff23
commit
53e144d9a7
24 changed files with 1236 additions and 254 deletions
24
backend/templates/web/posts/index.html
Normal file
24
backend/templates/web/posts/index.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}posts{% endblock %}
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
|
||||
{% block breadcrumb %}
|
||||
<li><a href="/posts">posts</a></li>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul id="post-index" class="dashed">
|
||||
{% for post in posts %}
|
||||
<li>
|
||||
<span>
|
||||
<a href="/posts/{{ post.slug }}">{{ post.name }}</a>
|
||||
(<i>{{ post.published_at }}{% match post.edited_at %}{% when Some with (x) %} -> {{ x }}{% when None %}{% endmatch %}</i>)
|
||||
</span>
|
||||
<br />
|
||||
<span>{{ post.description }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue