Skip to content

Commit ef4159f

Browse files
committed
Improve SEO config and update site metadata
1 parent 288a024 commit ef4159f

File tree

3 files changed

+99
-8
lines changed

3 files changed

+99
-8
lines changed

blog/tags.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,43 @@ hola:
1717
label: Hola
1818
permalink: /hola
1919
description: Hola tag description
20+
21+
seminar:
22+
label: Seminar
23+
permalink: /seminar
24+
description: Seminar events and talks
25+
26+
iclr2025:
27+
label: ICLR 2025
28+
permalink: /iclr-2025
29+
description: Posts related to ICLR 2025
30+
31+
invited-speakers:
32+
label: Invited Speakers
33+
permalink: /invited-speakers
34+
description: Invited speaker announcements and recaps
35+
36+
workshop:
37+
label: Workshop
38+
permalink: /workshop
39+
description: Workshop events and highlights
40+
41+
systems:
42+
label: Systems
43+
permalink: /systems
44+
description: Systems research topics
45+
46+
heterogeneous-computing:
47+
label: Heterogeneous Computing
48+
permalink: /heterogeneous-computing
49+
description: Heterogeneous hardware and software systems
50+
51+
llm:
52+
label: LLM
53+
permalink: /llm
54+
description: Large language model related posts
55+
56+
fpga:
57+
label: FPGA
58+
permalink: /fpga
59+
description: FPGA systems and acceleration

docusaurus.config.ts

Lines changed: 54 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
55
const 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,

static/robots.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
User-agent: *
2+
Allow: /
3+
Disallow: /markdown-page
4+
5+
Sitemap: https://www.xtra.science/sitemap.xml

0 commit comments

Comments
 (0)