<!doctype html>
<html lang="ru">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Google Tag Manager -->
  <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  })(window,document,'script','dataLayer','GTM-MM4FR8LJ');</script>
  <!-- End Google Tag Manager -->
  {{#is "home"}}
    <title>Forma N8 — все новости снаряжения в одном месте</title>
  {{else}}
    {{#is "post"}}
      {{#post}}<title>Forma N8 — {{title}}</title>{{/post}}
    {{else}}
      {{#is "tag"}}
        {{#tag}}<title>Forma N8 — {{name}}</title>{{/tag}}
      {{else}}
        <title>Forma N8 — {{meta_title}}</title>
      {{/is}}
    {{/is}}
  {{/is}}
  <link rel="icon" type="image/png" href="{{asset "images/favi.png"}}">
  <link rel="stylesheet" href="{{asset "css/screen.css"}}">
  {{ghost_head}}
</head>
<body class="{{body_class}}">
  <!-- Google Tag Manager (noscript) -->
  <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MM4FR8LJ"
  height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  <!-- End Google Tag Manager (noscript) -->
  <a class="skip-link" href="#content">К содержанию</a>
  <header class="site-header">
    <div class="header-inner">
      <a class="brand" href="{{@site.url}}" aria-label="Forma N8, главная">
        <img src="{{asset "images/favi.png"}}" width="42" height="42" alt="">
        <span>FORMA<br>N8</span>
      </a>
      <nav class="main-nav" id="main-nav" aria-label="Основная навигация">
        <a href="{{@site.url}}">Лента</a>
        <div class="nav-dropdown">
          <button type="button" class="nav-dropdown-toggle" data-category-toggle aria-expanded="false">Категории <span class="nav-dropdown-icon" aria-hidden="true"></span></button>
          <div class="category-menu" data-category-menu>
            {{#get "tags" filter="visibility:public" limit="100" order="name asc"}}
              {{#foreach tags}}<a href="{{url}}">{{name}}</a>{{/foreach}}
            {{/get}}
          </div>
        </div>
        <a href="{{@site.url}}/about/">О проекте</a>
      </nav>
      <div class="header-actions">
        {{> "social-links" compact=true}}
        <button class="icon-button" type="button" data-ghost-search aria-label="Открыть поиск" title="Поиск">
          <svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="6.5"></circle><path d="m16 16 4 4"></path></svg>
        </button>
        <button class="icon-button menu-button" type="button" data-menu-toggle aria-expanded="false" aria-controls="main-nav" aria-label="Открыть меню" title="Меню">
          <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"></path></svg>
        </button>
      </div>
    </div>
  </header>
  <main id="content">{{{body}}}</main>
  <footer class="site-footer">
    <div><a class="footer-brand" href="{{@site.url}}">FORMA N8</a><p>Новости снаряжения и экипировки.</p>{{> "social-links"}}</div>
    <nav aria-label="Служебная навигация"><a href="{{@site.url}}/rss/">RSS</a><a href="{{@site.url}}/sitemap.xml">Карта сайта</a></nav>
  </footer>
  <script src="{{asset "js/site.js"}}" defer></script>
  <script>
    (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
    m[i].l=1*new Date();for(var j=0;j<document.scripts.length;j++){if(document.scripts[j].src===r){return;}}
    k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
    (window,document,"script","https://mc.yandex.ru/metrika/tag.js","ym");
    ym(110060335,"init",{clickmap:true,trackLinks:true,accurateTrackBounce:true,webvisor:true});
  </script>
  <noscript><div><img src="https://mc.yandex.ru/watch/110060335" style="position:absolute;left:-9999px" alt=""></div></noscript>
  {{ghost_foot}}
</body>
</html>
