@@ -5,8 +5,26 @@ export default defineConfig({
55 title : "Kubernetes 练习手册" ,
66 description : "A tutorials for k8s" ,
77 srcExclude : [ '**/README.md' ] ,
8+ sitemap : {
9+ hostname : 'https://k8s.guangzhengli.com'
10+ } ,
11+
12+ head : [
13+ [ 'link' , { rel : 'icon' , href : '/base/favicon.ico' } ] ,
14+ [ 'meta' , { name : 'author' , content : 'Guangzheng Li' } ] ,
15+ [ 'meta' , { name : 'keywords' , content : 'kubernetes, k8s, tutorials, workshop, practice, guangzheng li' } ] ,
16+ [ 'meta' , { name : 'og:title' , content : 'Kubernetes 练习手册' } ] ,
17+ [ 'meta' , { name : 'og:description' , content : 'A tutorials for k8s' } ] ,
18+ [ 'meta' , { name : 'og:image' , content : '/base/k8s.png' } ] ,
19+ [ 'meta' , { name : 'og:url' , content : 'https://k8s.guangzhengli.com' } ] ,
20+ [ 'script' , { async : '' , src : 'https://umami-ochre-nu.vercel.app/umami.js' , 'data-website-id' : 'c566e0a6-b11d-4fdc-ab1c-fd0b5ac2d852' , 'defer' : '' } ] ,
21+ ] ,
822 themeConfig : {
923 // https://vitepress.dev/reference/default-theme-config
24+ editLink : {
25+ pattern : 'https://github.com/guangzhengli/k8s-tutorials/edit/main/:path'
26+ } ,
27+
1028 nav : [
1129 { text : 'Home' , link : '/' } ,
1230 ] ,
@@ -53,6 +71,6 @@ export default defineConfig({
5371 link : 'https://guangzhengli.com' } ,
5472 { icon : { svg : '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-coffee"><path d="M17 8h1a4 4 0 1 1 0 8h-1"/><path d="M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4Z"/><line x1="6" x2="6" y1="2" y2="4"/><line x1="10" x2="10" y1="2" y2="4"/><line x1="14" x2="14" y1="2" y2="4"/></svg>' } ,
5573 link : 'https://guangzhengli.com/sponsors' } ,
56- ]
74+ ] ,
5775 }
5876} )
0 commit comments