add: alltags page and tag styles
This commit is contained in:
32
cadpoint/templates/alltags.jinja2
Normal file
32
cadpoint/templates/alltags.jinja2
Normal 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> Главная</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 }} <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 %}
|
||||
Reference in New Issue
Block a user