Clean up parameter inclusion logic and update demos to use GET where appropriate, rather than hiding from my bad design choices

fix annoyance w/ sinon and kutty
This commit is contained in:
carson 2020-05-14 17:27:57 -07:00
parent 5f9f1940b1
commit 6e5271729a

View File

@ -23,7 +23,11 @@
<div class="c">
<div class="row">
<div class="2 col">
<span kt-get="/" kt-target="body" kt-push-url="true" class="logo light">&lt;<a>/</a>&gt; k<a>u</a>tty</span>
{% if page.url.indexOf("/examples/") == 0 %}
<span onclick="document.location = '/';" class="logo light">&lt;<a>/</a>&gt; k<a>u</a>tty</span>
{% else %}
<span kt-get="/" kt-target="body" kt-push-url="true" class="logo light">&lt;<a>/</a>&gt; k<a>u</a>tty</span>
{% endif %}
<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>