mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Override document title for index (#1246)
This commit is contained in:
parent
33abdcde39
commit
b5ca33fde0
@ -36,6 +36,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
if (window.location.pathname === "/") {
|
||||||
|
window.document.title = "ESPHome"
|
||||||
|
}
|
||||||
var old = window.localStorage.getItem("version");
|
var old = window.localStorage.getItem("version");
|
||||||
if (old === null) { window.localStorage.setItem("version", "{{ version }}");
|
if (old === null) { window.localStorage.setItem("version", "{{ version }}");
|
||||||
} else if (old !== "{{ version }}") {
|
} else if (old !== "{{ version }}") {
|
||||||
|
Loading…
Reference in New Issue
Block a user