Configuration and extensions: make it yours

Adjust appearance, copy, navigation, sharing and statistics, and add your own styles and scripts.

This post is also available in বাংলা.

Use blog.config.ts to adjust the site’s appearance, content and interactions. Manage friend links in friends.config.ts, and add your own styles in src/styles/global.css and shared React or Astro components in src/components/.

Site and descriptive copy

site sets the name, production address, languages and timezone; author sets the name, biography, avatar and social links. Homepage headings, search prompts and footer copy live in text.

Display copy accepts plain strings or localized maps:

author: {
name: { bn: 'সাইটের লেখক', en: 'Site author' },
bio: {
bn: 'প্রতিদিনের কথা ও ভাবনা।',
en: 'Notes from everyday life.',
},
}

Choose content languages through site.locales; missing interface translations fall back automatically. Contributors add translations under src/i18n/, register them in that directory’s i18n.config.ts, and contribute both to the repository.

Appearance

blog.config.ts
appearance: {
defaultTheme: 'system',
pageTransition: 'fade',
codeThemes: { light: 'github-light', dark: 'github-dark' },
showCodeLineNumbers: false,
categoryCoverStyle: 'thumbnail',
}

Choose light, dark or system appearance, content transitions and code themes. Category cards support thumbnail, right-fading and full-background covers. Adjust individual categories with coverStyle.

sidebar.items sets sidebar navigation, and sidebar.menu sets the top-left site-name menu. Entries open builtin pages, standalone pages or external links. Binding a builtin page with page uses the corresponding pages entry for its title, description and introduction.

footer sets the start date, copyright author, content license and theme attribution. Friend links support groups, avatars, descriptions and search.

Sharing and statistics

sharing.copyFormat sets the copied sharing message; sharing.platforms sets platform names, icons and links. Use placeholders such as {title}, {description}, {author}, {blog} and {url}.

article.shareCover points automatic share covers at a hosted OG image service (endpoint, template, theme); the title and description are passed in the URL. statistics controls individual metrics, the publication heatmap and article-length bars.

Styles and shared components

Location Purpose
src/styles/global.css Site-wide styles
src/components/ Components shared by multiple articles
src/components/react/ React components, imported in MDX as @components/react/...
Article bundle folder Components used by a single article
Xerobi Team

Editorial team

The people behind Xerobi, writing about connectivity, payments and the software that runs them.

AstroReading experienceLast updated

Search articles

Recent articles

Meet BlogGPTBrowsing and search: discover articles through conversationContent organization: files, languages and assetsReact components in articlesMarkdown typography: text, tables and codeArticle enhancements: callouts, math, diagrams and lightboxes

Keyboard shortcuts

Search articles
Ctrl+K
Toggle sidebar
Ctrl+Shift+S
Home
Ctrl+Shift+O
Focus search input
Shift+Esc
Keyboard shortcuts
Ctrl+/

Blog statistics

Articles
11
Characters
14,372
Days online
1,056
Language
bn / en
First publication
Jul 22, 2025
Latest update
Oct 16, 2026
Average length
1,307
Average interval
45.1 days / article

Publishing in the past year

MWFDecJanFebMarAprMayJunJulAugSepOctNov

Public articles in the site timezone. Darker cells mean more posts.

Recent article lengths