all repos — gemini-redirect @ 3f8b2e50f7de12848b5c2ee3d8fd5d0a38b9cc23

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 class="left">
30                    <li><a href="/" class="{% if current_path == '/' %}selected{% endif %}">lonami's&nbsp;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                <div class="right">
35                    <a href="https://github.com/LonamiWebs"><img src="img/github.svg" alt="github" /></a>
36                    <a href="/blog/atom.xml"><img src="/img/rss.svg" alt="rss"></a>
37                </div>
38        </nav>
39        <main>
40            {% block content %}{% endblock %}
41        </main>
42        <footer>
43            <div>
44                <p>
45                    Share your thoughts, or simply come hang with me
46                    <a href="https://t.me/LonamiWebs"><img src="/img/telegram.svg" alt="Telegram" /></a>
47                    <a href="mailto:totufals@hotmail.com"><img src="/img/mail.svg" alt="Mail" /></a>
48                </p>
49            </div>
50        </footer>
51    </article>
52    <p class="abyss">Glaze into the abyss… Oh hi there!</p>
53</body>
54</html>