<html>
  <head>
    <title>{{ config.site_name }} - 404</title>

    <!-- Meta data -->
    <meta charset="UTF-8">

    <!-- CSS -->
    <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="{{ base_url }}/custom.css">

    <!-- Favicon -->
    <link rel="shortcut icon" href="http://i.imgur.com/7hcY3e8.png">

    <!-- Fonts -->
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">

    <!-- Google Analytics -->
    <script async>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

      ga('create', '{{ config.google_analytics[0] }}', 'auto');
      ga('send', 'pageview');
    </script>



    <!-- Scripts -->
    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  </head>
  <body>
    <!-- Fixed navbar -->
    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <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-left"  href="{{ base_url }}"><img class="navlogo" src="http://i.imgur.com/HFTBYpF.png"/></a>
          <a class="navbar-brand" href="{{ base_url }}"><p class="brand">Neataptic</p></a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li class="current active"><a href="{{ nav.homepage.url }}">Home</a></li>
            <li class="current"><a href="{% for nav_item in nav %}{% for nav_item in nav_item.children %}{% if nav_item.title=='Docs' %}{{nav_item.url}}{% endif %}{% endfor %}{% endfor %}">Docs</a></li>
            <li class="current"><a href="{% for nav_item in nav %}{% for nav_item in nav_item.children %}{% if nav_item.title=='Articles' %}{{nav_item.url}}{% endif %}{% endfor %}{% endfor %}">Articles</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
            <li><a href="https://github.com/wagenaartje/neataptic" target="blank"><i class="fa fa-github fa-1x"></i><b> GITHUB</b></a></li>
          </ul>
        </div>
      </div>
    </nav>

    <div class="container">
      <div class="row">
        <!-- Content -->
        <div class="col-sm-12 col-md-12 col-lg-12 content">
          <h1>404: Page not found</h1>
          <p>If something is wrong, please create an issue <a href="https://github.com/wagenaartje/neataptic/issues">here</a>!</p>
        </div>
      </div>
    </div>


    <script>
      $("table").each(function(){
          $(this).addClass('table table-striped');
      });
      $(".current").each(function(){
        var text = $(this).text().toLowerCase();
        if(window.location.pathname.indexOf(text) >= 0){
          $('.active').removeClass('active');
          $(this).addClass('active');
        }
      })
    </script>
  </body>
