this repo has no description
1{% extends "zerm/templates/index.html" %}
2
3{% block fonts %}
4{% endblock %}
5
6{% block rss %}
7 {%- if config.generate_feed -%}
8 <link rel="alternate" type="application/atom+xml" title="{{ config.title }} Feed" href="{{ get_url(path=config.feed_filename) | safe}}">
9 {%- endif -%}
10{% endblock %}
11
12{% block og_preview %}
13 {{ social::og_preview() }}
14
15 {%- if config.extra.twitter.site -%}
16 <meta name="twitter:site" content="{{ config.extra.twitter.site }}" />
17 {%- endif -%}
18 {%- if config.extra.twitter.creator -%}
19 <meta name="twitter:creator" content="{{ config.extra.twitter.creator }}" />
20 {%- endif -%}
21
22 {%- if config.extra.webmention -%}
23 <link rel="webmention" href="{{ config.extra.webmention }}" >
24 {%- endif -%}
25{% endblock %}
26
27{% block copyright %}
28 <div class="copyright">
29 <div class="copyright--user">{{ config.extra.copyright | safe }}</div>
30 <div class="copyright--tracking">
31 Public tracking available at <a href="https://plausible.io/hauleth.dev">Plausible.io</a>
32 </div>
33 </div>
34{% endblock copyright %}
35
36{% block script %}
37 <script async defer data-domain="hauleth.dev" src="https://plausible.io/js/plausible.js"></script>
38{% endblock script %}
39
40{% block css %}
41 <link rel="stylesheet" type="text/css" href="/style.css" />
42 <link rel="stylesheet" type="text/css" href="/syntax-theme.css" />
43 {% if config.extra.theme_color != "orange" -%}
44 {% set color = "/color/" ~ config.extra.theme_color ~ ".css" -%}
45 <link rel="stylesheet" type="text/css" href="{{ color }}" />
46 {%- else -%}
47 <link rel="stylesheet" type="text/css" href="/color/orange.css" />
48 {% endif %}
49 <meta name="theme-color" content="#1d1e28" />
50{% endblock css %}
51
52{% block header %}
53 <header class="header">
54 <div class="header__inner">
55 <div class="header__logo">
56 {{ logo::logo() }}
57 </div>
58 </div>
59 <nav class="menu">
60 <ul class="menu__inner">
61 {%- for menu_item in config.extra.main_menu -%}
62 <li>
63 <a href="{% if menu_item.url is matching("^https?://") %}{{ menu_item.url }}{% else %}{{ get_url(path=menu_item.url) }}{% endif %}"
64 {% if menu_item.rel %}rel="{{ menu_item.rel }}"{% endif %}>{{ menu_item.name }}</a>
65 </li>
66 {%- endfor-%}
67 </ul>
68 </nav>
69 </header>
70{% endblock %}