krz/krz.sh
clone: git clone https://gitbay.org/krz/krz.sh.git
main: templates/base.html · raw
1<!DOCTYPE html>
2<html lang="{{ lang | default(value="en") }}">
3<head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>{% block title %}{{ config.title }}{% endblock title %}</title>
7 <meta name="description" content="{% block description %}{{ config.description }}{% endblock description %}">
8 <meta name="color-scheme" content="dark light">
9 <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}">
10 <link rel="icon" href="{{ get_url(path="favicon.svg", cachebust=true) | safe }}">
11 <link rel="apple-touch-icon" href="{{ get_url(path="apple-touch-icon.png", cachebust=true) | safe }}">
12 <meta property="og:type" content="website">
13 <meta property="og:site_name" content="{{ config.title }}">
14 <meta property="og:url" content="{{ current_url | default(value=config.base_url) | safe }}">
15 <meta property="og:image" content="{{ get_url(path="og.png", cachebust=true) | safe }}">
16 <meta property="og:image:width" content="1200">
17 <meta property="og:image:height" content="630">
18 <meta name="twitter:card" content="summary_large_image">
19</head>
20<body>
21 <header class="site-header">
22 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
23 <nav class="site-nav">
24 <a href="{{ get_url(path="/services/") | safe }}">services</a>
25 <span class="sep">·</span>
26 <a href="{{ get_url(path="/apps/") | safe }}">apps</a>
27 </nav>
28 </header>
29
30 <main class="site-main">
31 {% block content %}{% endblock content %}
32 </main>
33
34 <footer class="site-footer">
35 <p class="foot-links"><a href="mailto:{{ config.extra.email }}">{{ config.extra.email }}</a> · <a href="https://git.krz.sh">git</a> · <a href="{{ get_url(path="/privacy/") | safe }}">privacy</a> · © {{ now() | date(format="%Y") }} · public domain</p>
36 </footer>
37</body>
38</html>