AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.
HTML ai-agentcloudflarecloudflare-d1cloudflare-r2cloudflare-workersdockerelectronevernoteevernote-alternativeknowledge-basemcpnote-takingobsidian-alternativeoffline-firstpersonal-knowledge-basepwaself-hostedsqlitetiptapweb-clipper
fix: localize site agent install link
yomac0591f69de3b
diff --git a/apps/site/src/components/hero.astro b/apps/site/src/components/hero.astroindex f725b435..58794fb0 100644--- a/apps/site/src/components/hero.astro+++ b/apps/site/src/components/hero.astro@@ -4,7 +4,7 @@ import heroProductImage from "@/assets/edgeever-hero-product.png";import Link from "@/components/ui/link.astro";import { Icon } from "astro-icon/components";import { Meteors } from "@/components/magicui/meteors";-import { getSiteLocale, siteCopy } from "@/i18n";+import { getLocalizedPath, getSiteLocale, siteCopy } from "@/i18n";const locale = getSiteLocale(Astro.url.pathname);const copy = siteCopy[locale].hero;@@ -45,7 +45,7 @@ const copy = siteCopy[locale].hero;</Link><arel="noopener"- href="/blog/ai-agent-deploy-cloudflare"+ href={getLocalizedPath(locale, "/blog/ai-agent-deploy-cloudflare")}class="flex gap-2 items-center justify-center px-6 py-3 bg-white/50 backdrop-blur-sm border border-slate-200 hover:border-slate-300 rounded-xl text-slate-600 hover:text-brand-text transition-all text-sm font-medium hover:-translate-y-0.5"><Icon class="w-5 h-5" name="bx:bxs-bot" />diff --git a/apps/site/src/layouts/Layout.astro b/apps/site/src/layouts/Layout.astroindex 1b9f2477..a6a206e8 100644--- a/apps/site/src/layouts/Layout.astro+++ b/apps/site/src/layouts/Layout.astro@@ -62,7 +62,7 @@ const localeRedirectScript = `(() => {if (!locale) return null;const normalized = String(locale).toLowerCase();- if (normalized === "zh" || normalized === "zh-cn" || normalized.startsWith("zh-hans")) {+ if (normalized === "zh" || normalized.startsWith("zh-")) {return "zh-CN";}