{% load zinnia_tags i18n %}
{% load url from future %}
{% get_tags as entry_tags %}
<!doctype html>
<html lang="{{ LANGUAGE_CODE }}">
  <head>
    <meta charset="utf-8">
    <title>Zinnia's Blog - {% block title %}{% endblock %}</title>
    <meta name="robots" content="follow, all" />
    <meta name="description" content="{% block meta-description %}Demonstration of the Zinnia Blog application.{% endblock %}" />
    <meta name="keywords" content="{% block meta-keywords %}django, blog, zinnia, {{ entry_tags|join:", "}}{% endblock %}" />
    <meta name="author" content="Fantomas42" />
    <meta name="viewport" content="width=device-width; initial-scale=1.0;" />
    {% block meta %}{% endblock %}
    <link rel="pingback" href="/xmlrpc/" />
    <link rel="shortcut icon" href="{{ STATIC_URL }}zinnia/img/favicon.ico" />
    <link rel="home" href="{% url 'zinnia_entry_archive_index' %}" />
    <link rel="stylesheet" type="text/css" media="screen, projection" href="{{ STATIC_URL }}zinnia/css/screen.css" />
    <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}zinnia/css/print.css" />
    <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" media="screen, projection" href="{{ STATIC_URL }}zinnia/css/ie.css" />
    <![endif]-->
    {% block link %}{% endblock %}
    {% block script %}{% endblock %}
  </head>
  <body class="zinnia {% block body-class %}{% endblock %}">
    <div class="container">
      <header id="header" role="banner">
        <nav>
          <ul class="top-navigation">
            <li>
              <a href="{% url 'zinnia_sitemap' %}" title="{% trans "Sitemap" %}" class="sitemap">
                {% trans "Sitemap" %}
              </a>
            </li>
            <li>
              <a href="{% url 'zinnia_entry_latest_feed' %}" title="{% trans "RSS Feed of latest entries" %}" class="feeds">
                {% trans "RSS Feed" %}
              </a>
            </li>
          </ul>
        </nav>
        <h1>
          <a href="{% url 'zinnia_entry_archive_index' %}" title="Zinnia's Blog" rel="home">
            Zinnia's Blog
          </a>
        </h1>
        <blockquote>
          <p>Just another Zinnia Weblog.</p>
        </blockquote>
        {% block breadcrumbs %}{% endblock %}
      </header>
      {% block slider %}{% endblock %}
      <div id="content" class="hfeed" role="main">
        {% block content %}
        <div class="links">
          <h3>{% trans "Useful links" %}</h3>
          <ul>
            <li>
              <a href="{% url 'zinnia_entry_archive_index' %}" title="{% trans "Blog index" %}">
                {% trans "Blog index" %}
              </a>
            </li>
            <li>
              <a href="{% url 'zinnia_sitemap' %}" title="{% trans "Sitemap" %}">
                {% trans "Sitemap" %}
              </a>
            </li>
          </ul>
        </div>
        <div class="recents">
          <h3>{% trans "Recent entries" %}</h3>
          {% get_recent_entries %}
        </div>
        <div class="search">
          <h3>{% trans "Search" %}</h3>
          {% include "zinnia/tags/search_form.html" %}
        </div>
        {% endblock %}
      </div>
      <div id="sidebar" role="complementary">
        <aside id="widget-welcome" class="widget">
          <h3>Welcome!</h3>
          <p>
            This simple skin is the base template of the Zinnia application,
            used for displaying the blog quickly.
          </p>
          <p>
            Feel free to override the <strong>zinnia/base.html</strong>
            template to <a href="http://django-blog-zinnia.com/documentation/how-to/customize_look_and_feel/">change the default appearence</a>.
          </p>
        </aside>
        {% block sidebar %}
        {% endblock %}
      </div>
      <footer id="footer" role="contentinfo">
        <p>Powered by <a href="http://www.djangoproject.com">Django</a> and <a href="https://github.com/Fantomas42/django-blog-zinnia">Zinnia {{ ZINNIA_VERSION }}</a>.</p>
      </footer>
    </div>
  </body>
</html>
