mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-09-05 07:27:27 +08:00
docs: improve SEO and redirect root to /zh/ (#846)
docs: improve SEO meta tags and redirect root to /zh/ Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
2b33d953fa
commit
0df74ee5cc
@@ -4,6 +4,7 @@ import { en } from './en'
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
title: "Temp Mail Doc",
|
title: "Temp Mail Doc",
|
||||||
|
description: 'CloudFlare 免费收发临时域名邮箱 | Free temporary domain email on CloudFlare',
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
lastUpdated: true,
|
lastUpdated: true,
|
||||||
locales: {
|
locales: {
|
||||||
@@ -13,12 +14,22 @@ export default defineConfig({
|
|||||||
head: [
|
head: [
|
||||||
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }],
|
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }],
|
||||||
['meta', { name: 'theme-color', content: '#5f67ee' }],
|
['meta', { name: 'theme-color', content: '#5f67ee' }],
|
||||||
|
['meta', { name: 'robots', content: 'index, follow' }],
|
||||||
['meta', { property: 'og:type', content: 'website' }],
|
['meta', { property: 'og:type', content: 'website' }],
|
||||||
['meta', { property: 'og:locale', content: 'Temp Mail Doc' }],
|
['meta', { property: 'og:locale', content: 'zh_CN' }],
|
||||||
['meta', { property: 'og:title', content: 'Temp Mail Doc' }],
|
['meta', { property: 'og:locale:alternate', content: 'en_US' }],
|
||||||
|
['meta', { property: 'og:title', content: 'Temp Mail - CloudFlare 临时邮箱' }],
|
||||||
|
['meta', { property: 'og:description', content: 'CloudFlare 免费收发临时域名邮箱,支持多域名、附件、Telegram Bot、Webhook、SMTP/IMAP' }],
|
||||||
['meta', { property: 'og:site_name', content: 'Temp Mail' }],
|
['meta', { property: 'og:site_name', content: 'Temp Mail' }],
|
||||||
['meta', { property: 'og:image', content: 'https://temp-mail-docs.awsl.uk/logo.png' }],
|
['meta', { property: 'og:image', content: 'https://temp-mail-docs.awsl.uk/logo.png' }],
|
||||||
['meta', { property: 'og:url', content: 'https://temp-mail-docs.awsl.uk' }],
|
['meta', { property: 'og:url', content: 'https://temp-mail-docs.awsl.uk' }],
|
||||||
|
['meta', { name: 'twitter:card', content: 'summary' }],
|
||||||
|
['meta', { name: 'twitter:title', content: 'Temp Mail - CloudFlare 临时邮箱' }],
|
||||||
|
['meta', { name: 'twitter:description', content: 'CloudFlare 免费收发临时域名邮箱' }],
|
||||||
|
['meta', { name: 'twitter:image', content: 'https://temp-mail-docs.awsl.uk/logo.png' }],
|
||||||
|
['link', { rel: 'alternate', hreflang: 'zh-Hans', href: 'https://temp-mail-docs.awsl.uk/zh/' }],
|
||||||
|
['link', { rel: 'alternate', hreflang: 'en', href: 'https://temp-mail-docs.awsl.uk/en/' }],
|
||||||
|
['link', { rel: 'alternate', hreflang: 'x-default', href: 'https://temp-mail-docs.awsl.uk/zh/' }],
|
||||||
],
|
],
|
||||||
sitemap: {
|
sitemap: {
|
||||||
hostname: 'https://temp-mail-docs.awsl.uk',
|
hostname: 'https://temp-mail-docs.awsl.uk',
|
||||||
|
|||||||
@@ -3,7 +3,12 @@ import { defineConfig, type DefaultTheme } from 'vitepress'
|
|||||||
export const en = defineConfig({
|
export const en = defineConfig({
|
||||||
title: "Temp Mail Doc",
|
title: "Temp Mail Doc",
|
||||||
lang: 'en-US',
|
lang: 'en-US',
|
||||||
description: 'CloudFlare Free sending and receiving of temporary domain name mailboxes',
|
description: 'Free temporary domain email powered by CloudFlare Workers, with multi-domain, attachments, Telegram Bot, Webhook, SMTP/IMAP support',
|
||||||
|
|
||||||
|
head: [
|
||||||
|
['meta', { property: 'og:locale', content: 'en_US' }],
|
||||||
|
['meta', { property: 'og:description', content: 'Free temporary domain email powered by CloudFlare Workers, with multi-domain, attachments, Telegram Bot, Webhook, SMTP/IMAP support' }],
|
||||||
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
nav: nav(),
|
nav: nav(),
|
||||||
|
|||||||
@@ -3,7 +3,12 @@ import { defineConfig, type DefaultTheme } from 'vitepress'
|
|||||||
export const zh = defineConfig({
|
export const zh = defineConfig({
|
||||||
title: "临时邮箱文档",
|
title: "临时邮箱文档",
|
||||||
lang: 'zh-Hans',
|
lang: 'zh-Hans',
|
||||||
description: 'CloudFlare 免费收发 临时域名邮箱',
|
description: 'CloudFlare 免费收发临时域名邮箱,支持多域名、附件、Telegram Bot、Webhook、SMTP/IMAP',
|
||||||
|
|
||||||
|
head: [
|
||||||
|
['meta', { property: 'og:locale', content: 'zh_CN' }],
|
||||||
|
['meta', { property: 'og:description', content: 'CloudFlare 免费收发临时域名邮箱,支持多域名、附件、Telegram Bot、Webhook、SMTP/IMAP' }],
|
||||||
|
],
|
||||||
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
nav: nav(),
|
nav: nav(),
|
||||||
|
|||||||
@@ -1,31 +1,11 @@
|
|||||||
---
|
---
|
||||||
# https://vitepress.dev/reference/default-theme-home-page
|
layout: page
|
||||||
layout: home
|
|
||||||
|
|
||||||
hero:
|
|
||||||
name: "临时邮箱文档"
|
|
||||||
tagline: "搭建 CloudFlare 免费收发 临时域名邮箱"
|
|
||||||
actions:
|
|
||||||
- theme: brand
|
|
||||||
text: 立即试用
|
|
||||||
link: https://mail.awsl.uk/
|
|
||||||
- theme: alt
|
|
||||||
text: 命令行部署
|
|
||||||
link: /zh/guide/quick-start
|
|
||||||
- theme: alt
|
|
||||||
text: 通过用户界面部署
|
|
||||||
link: /zh/guide/quick-start
|
|
||||||
- theme: alt
|
|
||||||
text: 通过 Github Actions 部署
|
|
||||||
link: /zh/guide/quick-start
|
|
||||||
|
|
||||||
features:
|
|
||||||
- title: 仅需域名即可私有部署, 免费托管在 CloudFlare,无需服务器
|
|
||||||
details: 支持 password 登录邮箱, 用户注册,使用访问密码可作为私人站点,支持附件功能。
|
|
||||||
- title: 使用 rust wasm 解析邮件
|
|
||||||
details: 使用 rust wasm 解析邮件,支持邮件各种RFC标准,支持附件, 速度极快
|
|
||||||
- title: 支持 Telegram Bot 和 Webhook
|
|
||||||
details: 邮件可转发到 Telegram 或者 webhook, Telegram Bot 支持绑定邮箱,查看邮件, Telegram 小程序
|
|
||||||
- title: 支持发送邮件(UI/API/SMTP)
|
|
||||||
details: 支持通过域名邮箱发送 txt 或者 html 邮件,支持 DKIM 签名, UI/API/SMTP 发送邮件
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { onMounted } from 'vue'
|
||||||
|
|
||||||
|
onMounted(() => {
|
||||||
|
window.location.replace('/zh/')
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user