mirror of
https://github.com/arsenetar/pelican-red.git
synced 2026-01-23 15:11:38 +00:00
Update all main template files
This is a major update to template files as now most have actual content.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}{{ super() }} - Categories{% endblock %}
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
<h1>Categories</h1>
|
||||
<ul class='no-bullet'>
|
||||
{% for cat, articles in categories %}
|
||||
<li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat.name|title }}</a> -
|
||||
{{ articles|length }}{% if articles|length == 1 %} article {% else %} articles{% endif %}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user