mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 18:43:29 +00:00
Add metadata for adding site to Apple devices home (#3360)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"gitbook": patch
|
||||
---
|
||||
|
||||
Add metadata for adding site to Apple devices home
|
||||
@@ -141,6 +141,12 @@ export async function generateSiteLayoutMetadata(context: GitBookSiteContext): P
|
||||
icon: icons,
|
||||
apple: icons,
|
||||
},
|
||||
appleWebApp: {
|
||||
capable: true,
|
||||
title: site.title,
|
||||
statusBarStyle:
|
||||
customization.themes.default === CustomizationThemeMode.Dark ? 'black' : 'default',
|
||||
},
|
||||
robots: (await isSiteIndexable(context)) ? 'index, follow' : 'noindex, nofollow',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user