header.html 2.64 KB
Newer Older
Ben Huber's avatar
Ben Huber committed
1 2 3 4 5
<!DOCTYPE html>
<html lang="en">

<head>
    <title>Xerus Documentation{% if page.title %} - {{ page.title }} {% endif %}</title>
Ben Huber's avatar
Ben Huber committed
6
    <link rel="icon" href="{{ site.baseurl }}/images/xerus.png">
Ben Huber's avatar
Ben Huber committed
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
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="{{ site.baseurl }}/js/jquery.min.js"></script>
    <script src="{{ site.baseurl }}/js/bootstrap.min.js"></script>
    <link href="{{ site.baseurl }}/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="{{ site.baseurl }}/css/theme.css" rel="stylesheet" type="text/css">
    <link href="{{ site.baseurl }}/css/syntax.css" rel="stylesheet" type="text/css">
    <link href="{{ site.baseurl }}/css/tabs.css" rel="stylesheet" type="text/css">
    <link href="{{ site.baseurl }}/css/footer.css" rel="stylesheet" type="text/css">
    <script type="text/x-mathjax-config">
	  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
	</script>
    <script type="text/javascript" async src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
</head>

<body>

<header class="navbar navbar-inverse navbar-fixed-top docs-nav" role="banner">
  <div class="container">
    <div class="navbar-header">
      <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="{{ site.baseurl }}/">Xerus</a>
    </div>
    <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
      <ul class="nav navbar-nav">
          {% if page.section == "Documentation" %}
Ben Huber's avatar
Ben Huber committed
38
                    <li class="active"><a href="{{ site.baseurl }}/documentation/">Documentation</a></li>
Ben Huber's avatar
Ben Huber committed
39
          {% else %}
Ben Huber's avatar
Ben Huber committed
40
                    <li><a href="{{ site.baseurl }}/documentation/">Documentation</a></li>
Ben Huber's avatar
Ben Huber committed
41 42
          {% endif %}
          {% if page.section == "Examples" %}
Ben Huber's avatar
Ben Huber committed
43
                    <li class="active"><a href="{{ site.baseurl }}/examples/">Examples</a></li>
Ben Huber's avatar
Ben Huber committed
44
          {% else %}
Ben Huber's avatar
Ben Huber committed
45
                    <li><a href="{{ site.baseurl }}/examples/">Examples</a></li>
Ben Huber's avatar
Ben Huber committed
46 47 48 49 50 51 52 53 54 55 56
          {% endif %}
      </ul>
      <ul class="nav navbar-nav navbar-right">
                    <li><a href="https://git.hemio.de/xerus/xerus">Git</a></li>
                    <li><a href="https://github.com/libxerus/xerus">Github</a></li>
                    <li><a href="https://git.hemio.de/xerus/xerus/issues">Issue-Tracker</a></li>
                </ul>
    </nav>
  </div>
</header>