<!DOCTYPE html>
{{- partial "docs/shared" -}}
<html>

<head>
    {{ partial "docs/html-head" . }}
</head>

<body>
<input type="checkbox" style="display: none" id="menu-control" />
<main class="flex container">

    <aside class="book-menu fixed">
        <nav role="navigation">
            {{ if .Site.Params.BookMenuBundle }}
            {{ partial "docs/menu-bundle" . }}
            {{ else }}
            {{ partial "docs/menu-filetree" . }}
            {{ end }}
            <div class="version">
                <a href="https://github.com/vendure-ecommerce/vendure/releases/tag/{{ $.Site.Data.build.version }}">
                    v{{ $.Site.Data.build.version }}</a>#<a href="https://github.com/vendure-ecommerce/vendure/commit/{{ $.Site.Data.build.commit }}">{{ $.Site.Data.build.commit }}
                </a>
            </div>
        </nav>
    </aside>

    <div class="book-page">
        {{ partial "docs/mobile-header" . }}
        {{ template "main" . }}

        <div class="book-footer">
            {{ if gt (dateFormat "2006" $.Page.Lastmod) 2018 }}
            Generated on {{ dateFormat "Jan 2 2006 at 15:04" $.Page.Lastmod }}
            {{ end }}
        </div>
    </div>

    {{ template "toc" . }}
</main>

{{ partial "top-bar" (dict "isDocsPage" true) }}
{{ template "_internal/google_analytics_async.html" . }}
</body>

</html>
