@@ -66,42 +66,80 @@ const config: DocsThemeConfig = {
6666 ,
6767 useNextSeoProps ( ) {
6868 return {
69- titleTemplate : '%s – Laravel-CycleORM-Adapter' ,
69+ titleTemplate : '%s | Laravel-CycleORM-Adapter' ,
70+ themeColor : '#fff' ,
71+ description : 'Laravel package that provides Cycle ORM integration.' ,
72+ openGraph : {
73+ type : 'website' ,
74+ locale : 'en_US' ,
75+ url : 'https://laravel-cycle-orm-adapter.wayof.dev' ,
76+ site_name : 'Laravel-CycleORM-Adapter' ,
77+ images : [
78+ {
79+ url : 'https://laravel-cycle-orm-adapter.wayof.dev/og.png' ,
80+ width : 1200 ,
81+ height : 630 ,
82+ alt : 'Laravel-CycleORM-Adapter' ,
83+ } ,
84+ ] ,
85+ } ,
86+ additionalLinkTags : [
87+ {
88+ rel : 'icon' ,
89+ href : '/favicon.ico' ,
90+ } ,
91+ {
92+ rel : 'icon' ,
93+ href : '/favicon-32x32.png' ,
94+ sizes : '32x32' ,
95+ type : 'image/png' ,
96+ } ,
97+ {
98+ rel : 'icon' ,
99+ href : '/favicon-16x16.png' ,
100+ sizes : '16x16' ,
101+ type : 'image/png' ,
102+ } ,
103+ {
104+ rel : 'apple-touch-icon' ,
105+ href : '/apple-touch-icon.png' ,
106+ sizes : '180x180' ,
107+ } ,
108+ {
109+ rel : 'manifest' ,
110+ href : '/site.webmanifest' ,
111+ } ,
112+ ] ,
70113 }
71114 } ,
72- sidebar : {
73- toggleButton : true ,
74- defaultMenuCollapseLevel : 3 ,
75- } ,
76115 head : function useHead ( ) {
77116 const { title } = useConfig ( )
117+
78118 const socialCard = 'https://laravel-cycle-orm-adapter.wayof.dev/og.png'
119+ const currentTitle = title ? title + ' | Laravel-CycleORM-Adapter' : 'Laravel-CycleORM-Adapter'
120+ const description = 'Laravel package that provides Cycle ORM integration.'
79121
80122 return (
81123 < >
82- < meta name = "msapplication-TileColor" content = "#fff" />
83- < meta name = "theme-color" content = "#fff" />
84- < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
85- < meta httpEquiv = "Content-Language" content = "en" />
86- < meta name = "description" content = "Laravel package that provides Cycle ORM integration." />
87- < meta name = "og:description" content = "Laravel package that provides Cycle ORM integration." />
88- < meta name = "twitter:card" content = "summary_large_image" />
89- < meta name = "twitter:image" content = { socialCard } />
90- < meta name = "twitter:site:domain" content = "laravel-cycle-orm-adapter.wayof.dev" />
91- < meta name = "twitter:url" content = "laravel-cycle-orm-adapter.wayof.dev" />
92- < meta
93- name = "og:title"
94- content = { title ? title + ' – Laravel-CycleORM-Adapter' : 'Laravel-CycleORM-Adapter' }
95- />
96- < meta name = "og:image" content = { socialCard } />
97- < meta name = "apple-mobile-web-app-title" content = "W" />
98- < link rel = "apple-touch-icon" sizes = "180x180" href = "/apple-touch-icon.png" />
99- < link rel = "icon" type = "image/png" sizes = "32x32" href = "/favicon-32x32.png" />
100- < link rel = "icon" type = "image/png" sizes = "16x16" href = "/favicon-16x16.png" />
101- < link rel = "manifest" href = "/site.webmanifest" />
124+ < meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
125+ < meta httpEquiv = "Content-Language" content = "en" />
126+ < meta name = "description" content = { description } />
127+ < meta name = "og:description" content = { description } />
128+ < meta name = "twitter:title" content = { currentTitle } />
129+ < meta name = "twitter:card" content = "summary_large_image" />
130+ < meta name = "twitter:image" content = { socialCard } />
131+ < meta name = "twitter:site:domain" content = "laravel-cycle-orm-adapter.wayof.dev" />
132+ < meta name = "twitter:url" content = "laravel-cycle-orm-adapter.wayof.dev" />
133+ < meta name = "twitter:description" content = { description } />
134+ < meta name = "og:title" content = { currentTitle } />
135+ < meta name = "og:image" content = { socialCard } />
102136 </ >
103137 )
104138 } ,
139+ sidebar : {
140+ toggleButton : true ,
141+ defaultMenuCollapseLevel : 3 ,
142+ } ,
105143}
106144
107145export default config
0 commit comments