fix: корректные ссылки /info
This commit is contained in:
@@ -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">
|
||||
Читать полностью →
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user