set title to filename
This commit is contained in:
parent
981d63c6df
commit
776719cf45
@ -6,7 +6,6 @@
|
||||
const slug = window.location.pathname.split("/").pop();
|
||||
|
||||
let notFound = false;
|
||||
let component = null;
|
||||
let contentType: string;
|
||||
let filename: string;
|
||||
|
||||
@ -28,6 +27,8 @@
|
||||
}
|
||||
filename = match[1];
|
||||
}
|
||||
|
||||
document.title = filename;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user