fix: корректные ссылки /info

This commit is contained in:
2026-08-06 00:06:52 +03:00
parent b522d9c9de
commit 1068fd850c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -31,7 +31,7 @@
{# Заголовок статьи со ссылкой #}
<h2 class="text-xl font-semibold mb-2 text-slate-900 dark:text-slate-100 font-serif">
<a href="/{{ article.slug }}/">
<a href="/info/{{ article.slug }}/" class="text-slate-900 dark:text-slate-100 hover:text-blue-500">
{% if article.s_article_title_html %}
{{ article.s_article_title_html|safe }}
{% else %}
@@ -50,7 +50,7 @@
{# Подвал карточки с датой и кнопкой перехода #}
<div class="mt-auto pt-4 border-t border-slate-200/60 dark:border-slate-800 flex items-center justify-between text-sm text-slate-500 dark:text-slate-400 font-serif">
<span>{{ article.t_article_created|date:"Y.m.d" }}</span>
<a href="/{{ article.slug }}/" class="font-medium">
<a href="/info/{{ article.slug }}/" class="font-medium">
Читать полностью &rarr;
</a>
</div>