fix: page name

This commit is contained in:
2025-02-18 23:40:39 +03:00
committed by Sweetbread
parent f5c32f761d
commit 617921edcb
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">на главную</a>
{%- for link, text in (
('sql', 'sql пипка'),
('found', 'forensic'),
('decode', 'encode and decode'),
('sql', 'Sql-инъекция'),
('found', 'Форензика'),
('decode', 'Криптография'),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>