summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: 4ebd50715eb2c656982df07af3d535fb2ebf05fb (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="robots" content="noindex" />
    
    <link rel="canonical" href="$url.full$">
    <link rel="shortcut icon" href="/favicon.ico" />

    $for(author)$
        <meta name="author" content="$it.name$$if(it.email)$ <$it.email$>$endif$" />
    $endfor$
    $if(date-meta)$
        <meta name="dcterms.date" content="$date-meta$" />
    $endif$
    $if(keywords)$
        <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
    $endif$

    $for(feeds)$
        <link href="$it.url$" type="application/atom+xml" rel="alternate" title="$it.title$ – $site.title$" />
    $endfor$
    $if(feed)$
        <link href="$feed.url.rel$" type="application/atom+xml" rel="alternate" title="$if(section.is_index)$$else$$title$ – $endif$$site.title$" />
    $endif$

    <title>$if(section.is_index)$$else$$title$ – $endif$$site.title$</title>

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

<body>
    <nav class="c-header">
        <a class="c-outer-button c-outer-button--inverted" href="/" title="$site.title$">
            <span class="c-outer-button__icon">
                <svg class="c-outer-button__icon-symbol">
                    <use href="#logo"></use>
                </svg>
            </span>
        </a>
        $if(section.is_index)$
        $else$
            $for(menus.main.items)$
                $if(it.active)$
                    <a class="c-outer-button" href="$it.url$">
                        <span class="c-outer-button__content">
                            $it.label$
                        </span>
                    </a>
                $endif$
            $endfor$
        $endif$
    </nav>
        
    <main>
        $if(section.is_index)$
${layouts/index()}
        $elseif(layout.is_categorized_list)$
${layouts/categorized_list()}
        $else$
${layouts/page()}
        $endif$

        <footer class="c-footer">
            <div class="c-footer__content">
                9thPK7O3xn
            </div>
            <a class="c-outer-button" href="#" title="To the top">
                <span class="c-outer-button__icon">
                    <svg class="c-outer-button__icon-symbol o-icon">
                        <use href="#icon-arrow-up"></use>
                    </svg>
                </span>
            </a>
        </footer>
    </main>

    <div class="u-vh" aria-hidden="true">
        ${symbols.svg()}
    </div>
</body>

</html>