summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 53a9db5c73d6c25b34be9d931d5d847fb3aa3306 (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
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta content="text/html; charset=UTF-8" http-equiv="content-type" />
  <meta content="width=device-width, initial-scale=1" name="viewport" />
  <link rel="stylesheet" href="/style.css">

  {% if page.title %}
  {% set title = page.title %}
  {% elif section.title %}
  {% set title = section.title %}
  {% elif config.title %}
  {% set title = config.title %}
  {% endif %}
  {% if title %}<title>{{ title }}</title>{% endif %}

  {% if config.generate_feed %}
  <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false)}}">
  {% endif %}

 <link rel="stylesheet" href="{{ get_url(path='style.css', trailing_slash=false) | safe }}" />
</head>

<body theme="auto">
  <div class="w">
    {% block content %} {% endblock %}
  </div>
</body>

</html>