{% extends "base.html" %}

{% block htmltitle %}
  {{ page|get_html_title }}
{% endblock %}

{% block metadata %}
  {{ page.metatags }}
{% endblock %}

{% block navbar %}
<nav id="main-nav" class="navbar navbar-default navbar-fixed-top index-nav">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <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 page-scroll" href="#page-top">
        {{ SITENAME }}
      </a>
    </div>
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
        <li><a class="page-scroll" href="#about">About</a></li>
        <li><a class="page-scroll" href="#skills">Skills</a></li>
        <li><a class="page-scroll" href="#projects">Projects</a></li>
        <li><a class="page-scroll" href="#blog">Blog</a></li>
        <li><a class="page-scroll" href="#more">More</a></li>
      </ul>
    </div>
  </div>
</nav>
{% endblock %}

{% block content %}
  {{ page.content }}
{% endblock %}