mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
fix: missing html attributes
This commit is contained in:
@ -223,6 +223,16 @@ router.afterEach(() => {
|
||||
});
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
lang: "en",
|
||||
},
|
||||
link: [
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
href: "/favicon.png",
|
||||
},
|
||||
],
|
||||
titleTemplate(title) {
|
||||
return title ? `${title} | Admin | Drop` : `Admin Dashboard | Drop`;
|
||||
},
|
||||
|
||||
@ -16,6 +16,16 @@ const route = useRoute();
|
||||
const noWrapper = !!route.query.noWrapper;
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
lang: "en",
|
||||
},
|
||||
link: [
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
href: "/favicon.png",
|
||||
},
|
||||
],
|
||||
titleTemplate(title) {
|
||||
if (title) return `${title} | Drop`;
|
||||
return `Drop`;
|
||||
|
||||
Reference in New Issue
Block a user