feat: section main files

This commit is contained in:
2025-04-05 22:42:20 +03:00
parent 5ce2555f95
commit 7aa60e1240
7 changed files with 44 additions and 18 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', 'Форензика'),
('decode', 'Криптография'),
('web', 'Web'),
('forensic', 'Форензика'),
('osint', 'OSINT'),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>