<!DOCTYPE html>
<html id="docs" lang="en" class="{{ .Params.class }}">
	<head>
	{{ partial "head.html" . }}
	</head>
	<body>
		{{ partial "header.html" . }}
		{{ block "hero" . }}
		<!--  HERO  -->
		<section id="hero" class="light-text no-sub">
			{{ partial "docs/top-menu.html" . }}
		</section>
		{{ end }}
		{{ block "deprecation" . }}{{ partial "deprecation-warning.html" . }}{{ end }}
		<section id="encyclopedia">
			{{ block "side-menu" . }}<div id="docsToc" style="display:none;"></div>{{ end }}
			<div id="{{ block "content-id" . }}docsContent{{ end }}">
        {{ block "content" . }}{{ end }}
        
        {{ partial "feedback.html" . }}

        {{ partial "git-info.html" . }}
			</div>
		</section>
		{{ partialCached "footer.html" . }}
		{{ partialCached "footer-scripts.html" . }}
    <script language="application/javascript">
      // This script turns in-page headers into clickable and shareable
      (function addHeadingLinks(){
        var article = document.getElementById('docsContent');
        var headings = article.querySelectorAll('h1, h2, h3, h4, h5, h6');
        headings.forEach(function(heading){
          if(heading.id){
            var a = document.createElement('a');
            a.innerHTML = heading.innerHTML;
            a.href = '#'+heading.id;
            a.classList.add('inpage_heading');
            heading.innerHTML = '';
            heading.appendChild(a);
          }
        });
      })();
    </script>
	</body>
</html>
