Use <table> to organize link - count pages
parent
6e56cf690d
commit
d2533f8f57
|
@ -9,9 +9,12 @@ Authors
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul class="list-unstyled">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
{% for author, articles in authors|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li>
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
|
|
@ -9,9 +9,12 @@ Categories
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul class="list-unstyled">
|
||||
{% for category, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li>
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
{% for category, articles in categories|sort %}
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
|
|
@ -9,9 +9,12 @@ Tags
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul class="list-unstyled">
|
||||
<table class="table table-bordered table-striped table-hover">
|
||||
{% for tag, articles in tags|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a> ({{ articles|count }})</li>
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ tag.url }}">#{{ tag }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue