main
 1-- Injects nav links into .site-controls (the floating pill with theme toggle)
 2-- Adds links before the toggle button so the pill becomes: index · flux · ☀️
 3
 4if HTML.select_one(page, ".site-controls .site-nav") then
 5  return
 6end
 7
 8nav_html = [[<span class="site-nav"><a href="/" title="index">⌘</a><a href="/flux/" title="flux">≋</a><a href="/about.html" title="about">☉</a></span>]]
 9
10controls = HTML.select_one(page, ".site-controls")
11if controls then
12  HTML.prepend_child(controls, HTML.parse(nav_html))
13end