mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
theme added
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Categories {{ super() }}
|
||||
{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
Categories
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<table class="table table-bordered table-striped">
|
||||
{% for category, articles in categories|sort %}
|
||||
<tr>
|
||||
<td><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></td>
|
||||
<td>{{ articles|count }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user