Skip to content

Commit

Permalink
feat: improve english seo
Browse files Browse the repository at this point in the history
Signed-off-by: seven <zilisheng1996@gmail.com>
  • Loading branch information
Blankll committed Sep 24, 2024
1 parent 863ed05 commit 1468056
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 52 deletions.
37 changes: 37 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import {defineConfig} from 'vitepress'
const titleZh = 'ServerlessInsight| 全栈Serverless应用开发运维平台';
const descZh = 'ServerlessInsight是一个开源的Serverless应用开发运维平台, 提供了全栈Serverless应用开发、部署、监控、调试、优化等功能。支持基础设施即代码的开发实践';
const icon = '/favicon.ico';

const titleEn = 'ServerlessInsight | Full-stack Serverless Development and Operation Platform';
const descEn = 'ServerlessInsight is an open-source full-stack serverless development and operation platform, providing full-stack serverless application development, deployment, monitoring, debugging, optimization and other functions. Support infrastructure as code development practices';
// https://vitepress.dev/reference/site-config
export default defineConfig({
lastUpdated: true,
Expand Down Expand Up @@ -64,6 +67,40 @@ export default defineConfig({
en: {
label: 'English',
lang: 'en',
title: titleEn,
description: descEn,
head: [
['link', {rel: 'icon', icon}],
['meta', {name: 'description', content: descEn}],
['meta', {
name: 'keywords',
content: "ServerlessInsight, serverless platform, multi-cloud serverless management, serverless application development, serverless lifecycle management, infrastructure as code, ServerlessInsight features, serverless architecture, cross-provider serverless management, multi-vendor serverless deployment, Geekfun open-source community, serverless development tools, cloud-native development, serverless app deployment, open-source serverless software, serverless CI/CD integration, open-source serverless projects, cloud-native serverless best practices, serverless microservices architecture, serverless real-time data processing, API backend serverless framework, serverless event-driven architecture, sustainable software development"
}],
['meta', {property: 'og:title', content: titleEn}],
['meta', {property: 'og:description', content: descEn}],
['meta', {property: 'og:image', content: icon}],
['meta', {property: 'og:url', content: '/'}],
['meta', {property: 'og:site_name', content: titleEn}],
['meta', {name: 'twitter:card', content: icon}],
['meta', {name: 'twitter:title', content: titleEn}],
['meta', {name: 'twitter:description', content: descEn}],
['meta', {name: 'twitter:image', content: icon}],
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
siteTitle: 'ServerlessInsight',
nav: [
{text: 'Home', link: '/en'},
{text: 'Docs', link: '/docs'},
],


socialLinks: [
{icon: 'github', link: 'https://github.com/geek-fun/serverlessinsight'},
{icon: 'twitter', link: 'https://x.com/Blankll31075'},
{icon: 'youtube', link: 'https://www.youtube.com/@geekfun-club'}
]
},
}
}

Expand Down
49 changes: 0 additions & 49 deletions docs/en/products.md

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hostsless-site",
"version": "0.0.7",
"version": "0.0.8",
"description": "",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1468056

Please sign in to comment.