fix: page name

This commit is contained in:
chest 2025-02-04 14:28:02 +03:00 committed by Sweetbread
parent f5c32f761d
commit 617921edcb
2 changed files with 5 additions and 5 deletions

View File

@ -6,6 +6,6 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/ros-pine-moon.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/ros-pine-moon.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script> <script>hljs.highlightAll();</script>
<link rel="icon" type="image/png" href="{{ url_for('static', filename='imgs/main_icon.png') }}">
<title>Попакошька</title> <title>CTF для самых маленьких</title>
</head> </head>

View File

@ -3,9 +3,9 @@
<nav class="navlink"> <nav class="navlink">
<a href="{{ url_for('index') }}" class="link">на главную</a> <a href="{{ url_for('index') }}" class="link">на главную</a>
{%- for link, text in ( {%- for link, text in (
('sql', 'sql пипка'), ('sql', 'Sql-инъекция'),
('found', 'forensic'), ('found', 'Форензика'),
('decode', 'encode and decode'), ('decode', 'Криптография'),
) %} ) %}
{%- if request.path != url_for(link) %} {%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a> <a href="{{ url_for(link) }}" class="link">{{ text }}</a>