1
0
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:
DarthSim 2022-02-21 14:04:18 +06:00
parent 081f82c62f
commit 6af01afb44

View File

@ -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;
});
}
]
}