mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
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
Block a user