Override document title for index (#1246)
This commit is contained in:
parent
33abdcde39
commit
b5ca33fde0
|
@ -36,6 +36,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<script>
|
||||
if (window.location.pathname === "/") {
|
||||
window.document.title = "ESPHome"
|
||||
}
|
||||
var old = window.localStorage.getItem("version");
|
||||
if (old === null) { window.localStorage.setItem("version", "{{ version }}");
|
||||
} else if (old !== "{{ version }}") {
|
||||
|
|
Loading…
Reference in New Issue