aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/header.html
blob: bf9a94ca2a50c6b53e4bb8013782e21627fdf91c (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
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    {% if site.settings.project.name %}
      <title>{{ page.title }} - {{ site.settings.project.name }} - {{ site.settings.author.name }}</title>
    {% else %}
      <title>{{ page.title }} - {{ site.settings.author.name }}</title>
    {% endif %}

    {% if site.settings.3rdparty.minified %}
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.min.css">
      <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.min.js"></script>
      <![endif]-->
    {% else %}
      <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/{{ site.settings.3rdparty.versions.bootstrap }}/css/bootstrap.css">
      <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/{{ site.settings.3rdparty.versions.html5shiv }}/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/respond/{{ site.settings.3rdparty.versions.respond }}/respond.js"></script>
      <![endif]-->
    {% endif %}

    {% include common/mathjax.html %}

    <link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">

    {% if page.custom_css %}
      {% for css in page.custom_css %}
        <link rel="stylesheet" href="{{ '/assets/css/' | relative_url }}{{ css }}"/>
      {% endfor %}
    {% endif %}
  </head>
  <body>
    <div class="top-level-footer-wrapper">
      {% if site.settings.navbar.hide or page.navbar.hide %}
      {% else %}
        <div class="footer-wrapper-collapse">
          {% include common/navbar.html %}
        </div>
      {% endif %}
      <div class="footer-wrapper-expand">
        <div class="container">