You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

47 lines
1.6 KiB

{% extends 'base_catalog.html' %}
{% load template_filters %}
{% load i18n %}
{% block bread_scrumbs %}
<div class="bread-crumbs">
<a href="/">{% trans 'Главная страница' %}</a>
{% ifequal catalog_url '/news/tag/' %}
<a href="/news/">{% trans 'Новости' %}</a>
{% else %}
<a href="/blogs/">{% trans 'Статьи' %}</a>
{% endifequal %}
{% if month %}
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
<a href="{{ year.link }}">{{ year.text }}</a>
<strong>{{ month.text }}</strong>
{% else %}
{% if year %}
<a href="{{ catalog_url }}{{ filter_object.url }}/">{{ filter_object.name }}</a>
<strong>{{ year.text }}</strong>
{% else %}
<strong>{{ filter_object.name }}</strong>
{% endif %}
{% endif %}
</div>
{% endblock %}
{% block page_title %}
<div class="page-title">
<h1>{% if meta %}{{ meta.h1 }}{% else %}{% trans 'Новости' %}: <strong>{{ filter_object.name }}</strong>{% endif %}</h1>
</div>
{% ifequal catalog_url '/news/tag/' %}
{% include 'includes/article/catalog_filter_period.html' %}
{% endifequal %}
{% endblock %}
{% block content_list %}
{% ifequal catalog_url '/news/tag/' %}
{% include 'client/includes/article/news_list.html' with object_list=object_list %}
{% else %}
{% include 'client/includes/article/blog_list.html' with object_list=object_list %}
{% endifequal %}
{% endblock %}