Scope all internal HTML id tags to avoid name clashes

* Fix ids not being unique enough in templates

* Revert disqus id change
This commit is contained in:
Isaac Muse
2018-06-10 06:45:16 -06:00
committed by Martin Donath
parent 2fbeb28d9d
commit a42fdb33ed
25 changed files with 42 additions and 42 deletions

View File

@@ -185,12 +185,12 @@
drawer on back button invocation in some browsers
-->
<input class="md-toggle" data-md-toggle="drawer"
type="checkbox" id="drawer" autocomplete="off" />
type="checkbox" id="__drawer" autocomplete="off" />
<input class="md-toggle" data-md-toggle="search"
type="checkbox" id="search" autocomplete="off" />
type="checkbox" id="__search" autocomplete="off" />
<!-- Overlay for expanded drawer -->
<label class="md-overlay" data-md-component="overlay" for="drawer"></label>
<label class="md-overlay" data-md-component="overlay" for="__drawer"></label>
<!-- Render "skip to content" link -->
{% if page.toc | first is defined %}