mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add h1 to the categories list in simple/notmyidea
The authors.html and tags.html templates both have this. Add it here as well for consistency. This also affects the notmyidea theme because it inherits the categories template from simple. While we're here, also make indentation consistent with other files (4 spaces within a block).
This commit is contained in:
parent
b30270190a
commit
10f70db9a6
4 changed files with 27 additions and 23 deletions
|
|
@ -20,12 +20,13 @@
|
|||
<li><a href="/category/yeah.html">yeah</a></li>
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
<ul>
|
||||
<li><a href="/category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="/category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="/category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="/category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<h1>Categories on A Pelican Blog</h1>
|
||||
<ul>
|
||||
<li><a href="/category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="/category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="/category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="/category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<section id="extras" class="body">
|
||||
<div class="social">
|
||||
<h2>social</h2>
|
||||
|
|
|
|||
|
|
@ -24,12 +24,13 @@
|
|||
<li><a href="./category/bar.html">bar</a></li>
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
<ul>
|
||||
<li><a href="./category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="./category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="./category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="./category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<h1>Categories on Alexis' log</h1>
|
||||
<ul>
|
||||
<li><a href="./category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="./category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="./category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="./category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>links</h2>
|
||||
|
|
|
|||
|
|
@ -24,12 +24,13 @@
|
|||
<li><a href="./category/bar.html">bar</a></li>
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
<ul>
|
||||
<li><a href="./category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="./category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="./category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="./category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<h1>Categories on Alexis' log</h1>
|
||||
<ul>
|
||||
<li><a href="./category/bar.html">bar</a> (1)</li>
|
||||
<li><a href="./category/cat1.html">cat1</a> (4)</li>
|
||||
<li><a href="./category/misc.html">misc</a> (4)</li>
|
||||
<li><a href="./category/yeah.html">yeah</a> (1)</li>
|
||||
</ul>
|
||||
<section id="extras" class="body">
|
||||
<div class="blogroll">
|
||||
<h2>links</h2>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,10 @@
|
|||
{% block title %}{{ SITENAME }} - Categories{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<ul>
|
||||
{% for category, articles in categories|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<h1>Categories on {{ SITENAME }}</h1>
|
||||
<ul>
|
||||
{% for category, articles in categories|sort %}
|
||||
<li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a> ({{ articles|count }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue