mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Change a bit the templates to list all the article with their content by
category too.
This commit is contained in:
parent
13148f568f
commit
ecd9a83ac8
3 changed files with 12 additions and 8 deletions
|
|
@ -1,10 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
Articles in the {{ category }} category.
|
||||
<ul>
|
||||
{% for article in articles %}
|
||||
<li><a href="../{{ article.url }}">{{ article.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% extends "index.html" %}
|
||||
{% block content_title %}
|
||||
<h2>Articles in the {{ category }} category</h2>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue