style: Remove whitespaces

This commit is contained in:
Sweetbread 2025-01-27 23:30:36 +03:00
parent 28dba79cdf
commit 07ca969da2
3 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,3 @@
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<script src="{{ url_for('static', filename='scripts/index.js') }}"></script>

View File

@ -2,16 +2,16 @@
<div class="decore1"></div>
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">на главную</a>
{% for link, text in (
{%- for link, text in (
('sql', 'sql пипка'),
('found', 'forensic'),
('decode', 'encode and decode'),
) %}
{% if request.path != url_for(link) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{% endif %}
{% endfor %}
{# <!-- <a href="">rfi</a>--> #}
{# <!-- <a href="">lfi</a>--> #}
{%- endif %}
{%- endfor %}
{#- <!-- <a href="">rfi</a>--> #}
{#- <!-- <a href="">lfi</a>--> #}
</nav>
</div>

View File

@ -2,15 +2,15 @@
<html lang="ru">
{% block head %}
{% include '_head.html' %}
{% endblock %}
{%- include '_head.html' %}
{%- endblock %}
<body>
{% include '_header.html' %}
{% include '_header.html' -%}
{% block content %}{% endblock %}
{% block content -%}{% endblock -%}
{% include '_sidenav.html' %}
{% include '_sidenav.html' %}
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">
</body>