add: alltags page and tag styles

This commit is contained in:
2026-04-12 12:46:22 +03:00
parent a301e75cdd
commit 5af505fbe4
5 changed files with 94 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
{% extends "base.jinja2" %}{% load slug_ru %}
{% block Title %}Все теги{% endblock %}
{% block canonical %}https://cadpoint.ru/alltags{% endblock %}
{% block Description %}Все теги сайта CADpoint{% endblock %}
{% block Keywords %}cadpoint, теги, alltags, новости{% endblock %}
{% block CONTENT %}
<div class="container bread-crumb">
<div class="row">
<nav class="col-12" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item nw s"><a href="/"><i class="bi bi-house-door" title="Главная"></i>&#8199;Главная</a></li>
<li class="breadcrumb-item active nw s" aria-current="page">Все теги</li>
</ol>
</nav>
</div>
</div>
<div class="container lenta">
<div class="row">
<div class="col-12">
<h1>Все теги сайта</h1>
<p class="tags text-center">{% if TAGS_IN_PAGE %}{% for I in TAGS_IN_PAGE %}
<a href="/tag_{{ I.slug|lower }}" class="tag-active">
{{ I.name }} &nbsp; <span class="tag-note"><b class="_tag">{{ I.NumTotal }}</b></span>
</a>{% endfor %}
{% else %}<span class="tag-not-active">Тегов пока нет</span>{% endif %}</p>
</div>
</div>
</div>
{% endblock %}