all repos — gemini-redirect @ 19eaa9a58d5d77496dbf0da9b8882786e0032cca

templates/base.html (view raw)

 1<!DOCTYPE html>
 2<html lang="en">
 3<head>
 4    <meta charset="utf-8">
 5    <meta name="description" content="Official Lonami's website">
 6    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
 7
 8    <title>
 9        {% block title %}
10        Lonami's
11        {% if current_path == '/'%}
12            Site
13        {% elif current_path is starting_with('/blog') %}
14            Blog
15        {% elif current_path is starting_with('/golb') %}
16            Golb
17        {% else %}
18            Confused
19        {% endif %}
20        {% endblock %}
21    </title>
22    {% block css %}
23    <link rel="stylesheet" type="text/css" href="/style.css">
24    {% endblock %}
25</head>
26<body>
27    <article>
28        <nav class="sections">
29            <ul>
30                <li><a href="/" class="{% if current_path == '/' %}selected{% endif %}">lonami's site</a></li>
31                <li><a href="/blog" class="{% if current_path is starting_with('/blog') %}selected{% endif %}">blog</a></li>
32                <li><a href="/golb" class="{% if current_path is starting_with('/golb') %}selected{% endif %}">golb</a></li>
33            </ul>
34        </nav>
35        <main>
36            {% block content %}{% endblock %}
37        </main>
38        <footer>
39            <div>
40                <p>
41                    Share your thoughts, or simply come hang with me
42                    <a href="https://t.me/LonamiWebs"><img src="/img/telegram.svg" alt="Telegram" /></a>
43                    <a href="mailto:totufals@hotmail.com"><img src="/img/mail.svg" alt="Mail" /></a>
44                </p>
45            </div>
46        </footer>
47    </article>
48    <p class="abyss">Glaze into the abyss… Oh hi there!</p>
49</body>
50</html>