File: taxonomy.html

package info (click to toggle)
staticsite 2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 14,648 kB
  • sloc: javascript: 33,722; python: 9,851; makefile: 46; sh: 4
file content (17 lines) | stat: -rw-r--r-- 483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "base.html" %}
{% block content %}
<h1 class="display-4">{{page.meta.title}}</h1>

{% if page.meta.description %}
<p>{{page.meta.description}}</p>
{% endif %}

<p class="h5">
{% for name, category_page in page.categories.items() %}
<a class="badge rounded-pill bg-primary text-decoration-none" href="{{url_for(category_page)}}">{{name}}
  <span class="text-dark bg-light rounded-pill px-1">{{category_page.meta.pages|length}}</span>
</a>
{% endfor %}
</p>

{% endblock %}