DEVELOPMENT ENVIRONMENT

~liljamo/liljamo-dev-zola

ref: f4973d89517b892698ac5e56bd6d6dbe1c1cb991 liljamo-dev-zola/templates/layouts/base.html -rw-r--r-- 1.6 KiB
f4973d89Jonni Liljamo feat: custom colours 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% if page %}
    {% set this = page %}
{% elif section %}
    {% set this = section %}
{% endif %}

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <link rel="stylesheet" href="/css/style.css"/>

        {% block extra_head %} {% endblock %}
    </head>
    <body>
        <main class="flex flex-col items-center h-screen bg-background-orig">
            <div class="flex justify-center sticky top-0 w-full h-min">
                <div class="absolute max-w-5xl w-full h-fit p-8 pointer-events-none">
                    <div class="w-full h-full pointer-events-auto
                        p-3 rounded-xl
                        border border-text-100  drop-shadow-md
                        backdrop-blur-sm"
                    >
                        <div class="flex gap-1">
                            <a class="hover:underline" href="/">{{ config.title }}</a>
                            {% set_global path = "" %}
                            {% for c in this.components %}
                            {% set_global path = path ~ "/" ~ c %}
                            <span>/</span>
                            <a class="hover:underline" href="{{ path }}/">{{ c }}</a>
                            {% endfor %}
                        </div>
                    </div>
                </div>
            </div>
            <div class="max-w-5xl p-2 pt-28">
                {% block content %} {% endblock %}
            </div>
        </main>
    </body>
</html>