mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-02-12 11:46:10 +02:00
Add suffix to docs titles
This commit is contained in:
parent
081f82c62f
commit
6af01afb44
@ -50,6 +50,8 @@
|
||||
document.getElementsByTagName("head")[0].appendChild(clink)
|
||||
}
|
||||
|
||||
var documentTitleBase = document.title;
|
||||
|
||||
window.$docsify = {
|
||||
logo: '/assets/logo.svg',
|
||||
name: 'imgproxy',
|
||||
@ -72,6 +74,11 @@
|
||||
clink.href = "https://docs.imgproxy.net" + vm.route.path
|
||||
}
|
||||
});
|
||||
},
|
||||
function (hook, vm) {
|
||||
hook.doneEach((content) => {
|
||||
document.title += " | " + documentTitleBase;
|
||||
});
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user