zyllian.github.io/site/templates/base.tera

63 lines
1.7 KiB
Text
Raw Normal View History

2024-11-04 17:09:11 -08:00
{% macro badge(badge, url, alt) %}
<a href="{{url}}"><img src="/badges/{{badge}}" alt="{{alt}}"></a>
{% endmacro badge %}
2021-08-17 09:59:34 -07:00
<!DOCTYPE html>
<html lang="en">
<head>
2023-11-13 18:14:40 -08:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2021-08-19 12:52:42 -07:00
<meta name="referrer" content="no-referrer">
2021-08-19 13:43:45 -07:00
<link rel="stylesheet" href="/styles/index.css">
2024-11-04 17:09:11 -08:00
<title>{{ title }}</title>
2024-06-25 16:31:26 -07:00
<script type="text/javascript" src="/js/pet-me.js" defer></script>
2024-11-04 17:09:11 -08:00
{{ head | safe }}
{% for script in scripts %}
<script type="text/javascript" src="{{script}}" defer></script>
{% endfor %}
{% for style in styles %}
<link rel="stylesheet" href="/styles/{{style}}">
{% endfor %}
2021-08-17 09:59:34 -07:00
</head>
<body>
2021-08-19 12:52:42 -07:00
<header class="main-header">
2021-10-15 12:28:16 -07:00
<span>
<a class="name" href="/">zyl's website</a> |
2024-04-02 11:11:00 -07:00
<span class="pronouns">it/puppy(/she)</span>
2021-10-15 12:28:16 -07:00
</span>
<span class="spacer"></span>
2024-10-24 13:10:33 -07:00
<a href="/games">games</a> |
2024-10-23 20:28:01 -07:00
<a href="/projects">my projects</a> |
2023-11-12 19:54:54 -08:00
<a href="/blog/">blog</a> |
<a href="/images/">images</a> |
2024-06-21 13:52:30 -07:00
<a href="/pay-me">pay me!</a> |
2023-11-12 19:54:54 -08:00
<a href="https://github.com/zyllian/zyllian.github.io" rel="noopener noreferrer">source</a>
2021-08-19 12:52:42 -07:00
</header>
2023-11-13 18:14:40 -08:00
<div id="content">
<main class="page">
2024-11-04 17:09:11 -08:00
{% block content %}{{ page | safe }}{% endblock content %}
2023-11-13 18:14:40 -08:00
</main>
</div>
2024-06-25 16:31:26 -07:00
2024-10-29 11:12:36 -07:00
<div class="flex-spacer"></div>
<hr />
<footer id="footer">
2024-11-08 18:42:07 -08:00
bark bark awruff :3 &bullet; powered by <strong><a href="https://webdog.zyl.gay">webdog</a></strong>
2024-10-29 11:12:36 -07:00
<div class="badges">
2024-11-04 17:09:11 -08:00
{{ self::badge(badge="transbian.png", url="https://badge.les.bi", alt="transgender and lesbian flags") }}
2024-10-29 11:12:36 -07:00
</div>
</footer>
2024-06-25 16:31:26 -07:00
<div id="pet-counter">
<noscript>enable js to pet me :3</noscript>
<div class="internal">
<span class="count">???</span> pets
<button>pet me :3</button>
</div>
2024-06-25 16:31:26 -07:00
</div>
2021-08-17 09:59:34 -07:00
</body>
</html>