aboutsummaryrefslogtreecommitdiff
path: root/templates/skeleton.twig
blob: e91223f7c28e8d08e0555446ad632084aa3d9b95 (plain)
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
<!DOCTYPE html>
{% import "macros.twig" as macros %}
<html lang="en">
<head>
{% block head %}
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <link type="text/css" rel="stylesheet" href="{{ url("assets/styles.css") }}">

    <script src="{{ url("vendor/components/jquery/jquery.min.js") }}"></script>
    <script src="{{ url("assets/interactive.js") }}"></script>
    <title>{% block title %}micropoly{% endblock %}</title>
{% endblock %}
</head>
<body>
    {% block header %}
        <header>
            <nav class="mainmenu">
                <ul>
                    <li><a href="{{ url("") }}" class="homelink">micropoly</a> </li>
                    <li><a href="{{ url("new-note") }}">Add note</a></li>
                </ul>
            </nav>
            <section class="s-search">
                {{ macros.searchbox(query) }}
            </section>
        </header>
    {% endblock %}
    {% block body %}
    {% endblock %}
</body>
</html>