<!DOCTYPE html>
<html lang="en">
<head>
        <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
        {% if FEED_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}
</head>
<body>
        <section id="links">
            <li>
                <a class="{% if page_name == 'index' %}selected{% endif %}" href="{{ SITEURL }}/" id="site-title">Blog</a>
            </li>
            {% for p in pages %}
                <li><a class="{% if page and page.slug == p.slug %}selected{% endif %}" href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
            {% endfor %}
        </section>
        {% include 'github.html' %}
        {% block content %}
        {% endblock %}

</body>
</html>
