@@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
55const config : Config = {
66 title : 'Xtra Computing Group' ,
77 tagline : 'The Xtra Computing Group is working in exciting areas of Big data management systems (with special interests in cloud computing and emerging hardware systems), Parallel and distributed systems and Cloud Computing.' ,
8- favicon : 'img/favicon.ico ' ,
8+ favicon : 'img/logo-small.png ' ,
99
1010 future : {
1111 v4 : true ,
@@ -19,7 +19,11 @@ const config: Config = {
1919 trailingSlash : false ,
2020
2121 onBrokenLinks : 'throw' ,
22- onBrokenMarkdownLinks : 'warn' ,
22+ markdown : {
23+ hooks : {
24+ onBrokenMarkdownLinks : 'warn' ,
25+ } ,
26+ } ,
2327
2428 i18n : {
2529 defaultLocale : 'en' ,
@@ -37,6 +41,9 @@ const config: Config = {
3741 editUrl : 'https://github.com/Xtra-Computing/blog/tree/main/' ,
3842 } ,
3943 blog : {
44+ blogTitle : 'Xtra Computing Blog' ,
45+ blogDescription :
46+ 'Research updates, events, and engineering insights from the Xtra Computing Group at NUS.' ,
4047 showReadingTime : true ,
4148 feedOptions : {
4249 type : [ 'rss' , 'atom' ] ,
@@ -49,15 +56,59 @@ const config: Config = {
4956 blogSidebarTitle : 'Recent Posts' ,
5057 blogSidebarCount : 10 ,
5158 } ,
59+ sitemap : {
60+ changefreq : 'weekly' ,
61+ priority : 0.7 ,
62+ filename : 'sitemap.xml' ,
63+ ignorePatterns : [ '/markdown-page' , '/tags/**' , '/authors/**' ] ,
64+ } ,
5265 theme : {
5366 customCss : './src/css/custom.css' ,
5467 } ,
5568 } satisfies Preset . Options ,
5669 ] ,
5770 ] ,
5871
72+ headTags : [
73+ {
74+ tagName : 'script' ,
75+ attributes : { type : 'application/ld+json' } ,
76+ innerHTML : JSON . stringify ( {
77+ '@context' : 'https://schema.org' ,
78+ '@type' : 'Organization' ,
79+ name : 'Xtra Computing Group' ,
80+ url : 'https://www.xtra.science' ,
81+ sameAs : [ 'https://github.com/Xtra-Computing' ] ,
82+ } ) ,
83+ } ,
84+ {
85+ tagName : 'script' ,
86+ attributes : { type : 'application/ld+json' } ,
87+ innerHTML : JSON . stringify ( {
88+ '@context' : 'https://schema.org' ,
89+ '@type' : 'WebSite' ,
90+ name : 'Xtra Computing Blog' ,
91+ url : 'https://www.xtra.science' ,
92+ } ) ,
93+ } ,
94+ ] ,
95+
5996 themeConfig : {
6097 image : 'img/docusaurus-social-card.jpg' ,
98+ metadata : [
99+ {
100+ name : 'description' ,
101+ content :
102+ 'Official blog of Xtra Computing Group, NUS. Research updates, events, and systems/AI engineering insights.' ,
103+ } ,
104+ {
105+ name : 'keywords' ,
106+ content :
107+ 'Xtra Computing, NUS, systems, AI, machine learning, distributed systems, blog' ,
108+ } ,
109+ { property : 'og:site_name' , content : 'Xtra Computing Group' } ,
110+ { name : 'twitter:card' , content : 'summary_large_image' } ,
111+ ] ,
61112 colorMode : {
62113 respectPrefersColorScheme : true ,
63114 } ,
@@ -78,11 +129,6 @@ const config: Config = {
78129 position : 'left' ,
79130 label : 'About' ,
80131 } ,
81- {
82- href : 'https://github.com/Xtra-Computing/blog' ,
83- label : 'GitHub' ,
84- position : 'right' ,
85- } ,
86132 ] ,
87133 } ,
88134 footer : {
@@ -122,7 +168,7 @@ const config: Config = {
122168 ] ,
123169 } ,
124170 ] ,
125- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Xtra Computing Group, NUS. Built with Docusaurus. ` ,
171+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Xtra Computing Group, NUS.` ,
126172 } ,
127173 prism : {
128174 theme : prismThemes . github ,
0 commit comments