{{template "base/head" .}}
<div class="page-content pages-landing pages-documentation">
	{{template "pages/header" .}}

	<div class="pages-docs-layout">
		<aside class="pages-docs-sidebar">
			<div class="pages-docs-search">
				<input type="text" placeholder="{{ctx.Locale.Tr "search"}}..." class="pages-search-input">
			</div>
			<nav class="pages-docs-nav">
				{{if .Config.Documentation.Sidebar}}
				{{range .Config.Documentation.Sidebar}}
				<div class="pages-docs-section {{if .Collapsed}}collapsed{{end}}">
					{{if .Title}}
					<h4 class="pages-docs-section-title">{{.Title}}</h4>
					{{end}}
					<ul class="pages-docs-list">
						{{range .Items}}
						<li><a href="/docs/{{.}}">{{.}}</a></li>
						{{end}}
					</ul>
				</div>
				{{end}}
				{{end}}
			</nav>
		</aside>

		<main class="pages-docs-content">
			<article class="pages-docs-article">
				{{if .ReadmeContent}}
				<div class="markup">
					{{.ReadmeContent}}
				</div>
				{{else}}
				<p>{{ctx.Locale.Tr "repo.no_desc"}}</p>
				{{end}}
			</article>
		</main>
	</div>

	{{template "pages/footer" .}}
</div>
{{template "base/footer" .}}
