<!doctype html>
<html lang={{tpl:BlogLanguage}}>
  <head>
    <meta charset=utf-8>
    <meta name=viewport content="width=device-width,initial-scale=1">

    <tpl:Block name="head-title">
      <title>{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> – {{tpl:lang page-noun-before-number}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
    </tpl:Block>

    <tpl:Block name="head-description">
      <meta name=description content="{{tpl:BlogDescription remove_html="1" encode_html="1"}}">
    </tpl:Block>

    <tpl:Block name="head-meta">
      <meta name=robots content="{{tpl:BlogMetaRobots}}">
    </tpl:Block>

    <tpl:Block name="head-link">
      {{tpl:odysseyStylesInline}}
      <link rel=stylesheet href="{{tpl:BlogThemeURL}}/style.min.css">
      <link rel=alternate type=application/atom+xml title="{{tpl:lang feed-title}}" href="{{tpl:BlogFeedURL}}">
    </tpl:Block>

    {{tpl:SysBehavior behavior="publicHeadContent"}}
  </head>

  <body>
    {{tpl:odysseyScreenReaderLinks}}

    <div id=site>
      <tpl:Block name="site-header">
        <header id=site-header>
          {{tpl:odysseyHeaderImage position="top"}}

          <div id=site-title>
            <a href="{{tpl:BlogURL}}" rel=home><h4>{{tpl:BlogName}}</h4></a>
          </div>

          {{tpl:odysseyBlogDescription}}

          {{tpl:SimpleMenu id="main-menu"}}

          {{tpl:odysseyHeaderImage position="bottom"}}

          {{tpl:SysBehavior behavior="publicTopAfterContent"}}
        </header>
      </tpl:Block>

      <main id=site-content>
        <tpl:Block name="main-content">
          {{tpl:include src="_entry-list.html"}}
        </tpl:Block>
      </main>

      <tpl:Block name="site-sidebar">
        <tpl:odysseySidebar>
          {{tpl:include src="_sidebar.html"}}
        </tpl:odysseySidebar>
      </tpl:Block>

      <tpl:Block name="site-footer">
        {{tpl:include src="_footer.html"}}
      </tpl:Block>
    </div>
  </body>
</html>
