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 Bi-Rabittoh'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 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 Share your thoughts, or simply come hang with me
43 <a href="https://t.me/BiRabittoh"><img src="/img/telegram.svg" alt="Telegram" /></a>
44 <a href="mailto:andronacomarco@gmail.com"><img src="/img/mail.svg" alt="Mail" /></a>
45 </p>
46 </div>
47 </footer>
48 </article>
49 <p class="abyss">Glaze into the abyss… Oh hi there!</p>
50</body>
51</html>