all repos — gemini-redirect @ cb6b25ff4447eb64270186703e82b0955737bc84

templates/base.html (view raw)

 1<!DOCTYPE html>
 2<html lang="en">
 3<head>
 4    <meta charset="utf-8">
 5    <meta name="description" content="BiRabittoh's official website">
 6    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
 7
 8    <title>
 9        {% block title %}
10        BiRabittoh's
11        {% if current_path == '/'%}
12            Site
13        {% elif current_path is starting_with('/blog') %}
14            Blog
15        {% else %}
16            Confused
17        {% endif %}
18        {% endblock %}
19    </title>
20    {% block css %}
21    <link rel="stylesheet" type="text/css" href="/style.css">
22    {% endblock %}
23</head>
24<body>
25    <article>
26        <nav class="sections">
27                <ul class="left">
28                    <li><a href="/" class="{% if current_path == '/' %}selected{% endif %}">birabittoh's&nbsp;site</a></li>
29                    <li><a href="/blog" class="{% if current_path is starting_with('/blog') %}selected{% endif %}">blog</a></li>
30                </ul>
31                <div class="right">
32                    <a href="https://github.com/Bi-Rabittoh"><img src="/img/github.svg" alt="github" /></a>
33                    <a href="/blog/atom.xml"><img src="/img/rss.svg" alt="rss"></a>
34                </div>
35        </nav>
36        <main>
37            {% block content %}{% endblock %}
38        </main>
39        <footer>
40            <div>
41                <p>
42                    Please use email for business inquiries
43                    <a href="mailto:andronacomarco@gmail.com"><img src="/img/mail.svg" alt="mail" /></a>
44                </p>
45            </div>
46        </footer>
47    </article>
48    <p class="abyss">owo what's this</p>
49</body>
50</html>