This commit is contained in:
carson 2021-03-09 21:14:43 -07:00
parent 5a788a5dd4
commit ef6b9fa7d9

View File

@ -14,6 +14,9 @@
Prism.highlightAll();
})
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
</head>
<body hx-ext="class-tools, preload">
<div class="top-nav">
@ -47,10 +50,12 @@
</div>
<div>
<a href="https://github.com/sponsors/bigskysoftware?o=esb">sponsor</a>
</div>
</div>
<div>
</div>
</div>
<div class="github-stars">
<a href="https://github.com/bigskysoftware/htmx">github</a>
<input placeholder="&#128269; Docs Search" style="width:150px; padding: 6px; border: 1px solid #ccc; border-radius: 4px; margin-right: 6px" type="text" id="search"/>
<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>
@ -62,5 +67,13 @@
<div class="c content">
{{ content | safe }}
</div>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script type="text/javascript"> docsearch({
apiKey: '47070108e6ce8dfee6beee94b83bee7d',
indexName: 'htmx',
inputSelector: '#search',
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
</body>
</html>