summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt/base.html
blob: 8f9fbdc352db5f950ef5093a78a4dec6cbeddfe1 (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
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html class="theme-dark" lang="{%block html_lang%}{%endblock html_lang%}"
  prefix="og: https://ogp.me/ns#">
  <head>
    <base href="{{config['url']['static']}}">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="images/icons/favicon.ico">
    {%block head_title%}{%endblock head_title%}
    {%block head_description%}{%endblock head_description%}
    {%block head_rss%}{%endblock head_rss%}

    <!-- general style -->
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <link rel="stylesheet" type="text/css" href="fork-awesome/css/fork-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="font-awesome/css/all.min.css">

    <!-- theme related -->
    <script type="text/javascript" src="scripts/theme.js"></script>
    <link id="theme-css" rel="stylesheet" type="text/css" href="css/theme.css">

    <!-- extra -->>
    {%block head_extra%}{%endblock head_extra%}

    <!-- og meta -->
    {%block head_og%}{%endblock head_og%}
  </head>

  <body>
    <header>
      {%import "body_header.html" as body_header%}
      {{body_header.print(config)}}
    </header>

    <main>
      {%block body_content%}{%endblock body_content%}
    </main>

    <footer>
      {%import "body_footer.html" as body_footer%}
      {{body_footer.print(config)}}
    </footer>
  </body>
</html>