<html lang="en">
<head>
    <title>&lt;/> htmx - high power tools for html</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="/css/site.css"/>
    <link rel="stylesheet" href="/css/prism-htmx.css"/>
    <script src="https://unpkg.com/prismjs@1.20.0/components/prism-core.min.js"></script>
    <script src="https://unpkg.com/prismjs@1.20.0/plugins/autoloader/prism-autoloader.min.js"></script>
    <script src="/js/htmx.js"></script>
    <script src="/js/class-tools.js"></script>
    <script>
        htmx.onLoad(function(){
            Prism.highlightAll();
        })
    </script>
</head>
<body hx-ext="class-tools">
<div class="top-nav">
    <div class="c">
        <div class="row">
            <div class="2 col">
                <span hx-get="/" hx-target="body" hx-push-url="true" class="logo light">&lt;<a>/</a>&gt; htm<a>x</a></span>
                <svg onclick="document.getElementById('nav').classList.toggle('show')" class="hamburger" viewBox="0 0 100 80" width="25" height="25" style="margin-bottom:-5px">
                    <rect width="100" height="20" style="fill:rgb(52, 101, 164)" rx="10"></rect>
                    <rect y="30" width="100" height="20" style="fill:rgb(52, 101, 164)" rx="10"></rect>
                    <rect y="60" width="100" height="20" style="fill:rgb(52, 101, 164)" rx="10"></rect>
                </svg>
            </div>
            {% if page.url.indexOf("/examples/") == 0 %}
            <div id="nav" class="10 col nav"> <!-- don't boost on demo pages, sinon hijacks everything :/ -->
            {% else %}
            <div id="nav" class="10 col" hx-boost="true">
            {% endif %}
                <div class="row">
                    <div class="1 col">
                        <a href="/docs">docs</a>
                    </div>
                    <div class="1 col">
                        <a href="/reference">reference</a>
                    </div>
                    <div class="1 col">
                        <a href="/examples">examples</a>
                    </div>
                    <div class="1 col">
                        <a href="/talk">talk</a>
                    </div>
                    <div class="8 col">
                    </div>
                    <div class="8 col" style="text-align: right">
                            <a href="https://github.com/bigskysoftware/htmx">github</a>
                            <iframe style="margin:auto;" src="https://ghbtns.com/github-btn.html?user=bigskysoftware&repo=htmx&type=star&count=true" frameborder="0" scrolling="0" width="150" height="20" title="Star htmx on GitHub"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

<div class="c content">
    {{ content | safe }}
</div>
</body>
</html>
