gitscope
← rgit / 0.1.2 / templates/base.html
https://dev.kronoz.win/r/rgit.git
templates/base.html · HTML
Blame Raw
 1<!DOCTYPE html>
 2<html lang="en">
 3<head>
 4    <meta charset="UTF-8">
 5    <meta name="viewport" content="width=device-width">
 6    <title>{% block title %}rgit{% endblock %}</title>
 7    <link rel="stylesheet" type="text/css" href="/style-{{ crate::GLOBAL_CSS_HASH.as_ref() }}.css" />
 8    {%- block head -%}{%- endblock %}
 9</head>
10
11<body>
12<header>
13    <h1>
14        <a href="/" class="no-hover">🏡</a>
15        {% block header -%}Git repository browser{%- endblock %}
16    </h1>
17</header>
18
19{%- block nav -%}
20<nav>
21    <div>
22        <a href="/" class="active">index</a>
23    </div>
24
25    <div class="grow"></div>
26
27    <div>
28        {%- block extra_nav_links %}{% endblock %}
29    </div>
30</nav>
31{%- endblock -%}
32
33<main>
34    {%- block content %}{% endblock -%}
35</main>
36
37<footer>
38    generated by <a href="https://git.inept.dev/~doyle/rgit.git/about" target="_blank">rgit</a> v{{ crate::CRATE_VERSION }} at {{ time::OffsetDateTime::now_utc().to_string() }}
39</footer>
40</body>
41</html>