Skip to content

Commit

Permalink
set locale to zh-Hans-CN
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaBeiyan committed Sep 30, 2024
1 parent 9867963 commit d8a4ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/AppLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const { cover } = useAppConfig()

<template>
<div class="sm:pt-6 sm:pb-10 pb-5">
<Html lang="zh" />
<Html lang="zh-Hans-CN" />
<!-- <Meta property="og:image" :content="cover"/> -->
<Link rel="shortcut icon" href="/china-legal/favicon.ico"/>
<Meta name="twitter:card" content="summary_large_image" />
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineNuxtConfig({

// https://content.nuxtjs.org
content: {
defaultLocale: "zh",
defaultLocale: "zh-Hans-CN",
documentDriven: true,
highlight: {
// langs: [
Expand Down

0 comments on commit d8a4ef2

Please sign in to comment.