mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-29 18:38:12 +00:00
if no title still append prefix
This commit is contained in:
@@ -32,6 +32,8 @@
|
|||||||
|
|
||||||
if (title) {
|
if (title) {
|
||||||
document.title = `${prefix}${title} - The Homebrewery`;
|
document.title = `${prefix}${title} - The Homebrewery`;
|
||||||
|
} else {
|
||||||
|
document.title = `${prefix} - The Homebrewery`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.pathname.startsWith('/admin')) {
|
if (window.location.pathname.startsWith('/admin')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user