Skip to content

Commit

Permalink
improvement: image origin.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhangch committed Jan 20, 2025
1 parent 1de5b1d commit 5775230
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ nav:
reviews: reviews
docs: docs
footprints: footprint
gallery: gallery
footer:
home: home
rss: rss
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ nav:
reviews: 评论
docs: 笔记
footprint: 足迹
gallery: 随拍
footer:
home: 首页
rss: 订阅
Expand Down
9 changes: 9 additions & 0 deletions src/pages/gallery/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
import {useLocale} from "../../utils/locale";
import Layout from "@layouts/Layout.astro";
const {t, locale} = useLocale(Astro.url)
---

<Layout title={t('nav.gallery')} navbar={true}>
</Layout>

0 comments on commit 5775230

Please sign in to comment.