reorg coil gen posts + new theme
This commit is contained in:
parent
650f7ceb04
commit
ad3bcc971e
79 changed files with 14597 additions and 25 deletions
23
themes/material-theme/templates/list.tmpl
Normal file
23
themes/material-theme/templates/list.tmpl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
{% extends 'base.tmpl' %}
|
||||
|
||||
{% block content %}
|
||||
<article class="listpage">
|
||||
<header>
|
||||
<h1>{{ title }}</h1>
|
||||
<hr />
|
||||
</header>
|
||||
{% if items %}
|
||||
<ul class="postlist">
|
||||
{% for text, link, count in items %}
|
||||
<li><a href="{{ link }}"><i class="mdi-action-done"></i>{{ text }}</a>
|
||||
{% if count %}
|
||||
({{ count }})
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>{{ messages("Nothing found.") }}</p>
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue