{{- /* Site scripts. Each block is progressive enhancement: its buttons are hidden in the markup and only revealed here, so a site with JavaScript disabled never shows an inert button. 1. Copy-to-clipboard behaviour for code blocks rendered by layouts/_markup/render-codeblock.html. A single delegated listener handles every code block on the page. Disable the copy buttons entirely with `[ananke] copy_code = false`. 2. Header navigation rendered by layouts/_partials/site-navigation.html: the menu button that collapses the menu below the Tachyons `-l` breakpoint, and the submenu toggles. Only included if the site has a `main` menu. Override this partial in your own project to add or replace site scripts. */ -}} {{- if ne false site.Params.ananke.copy_code -}} {{- end -}} {{- if site.Menus.main -}} {{- end -}}