Skip to content

更新 Footer 建置年份 - #188

Merged
TonyPepeBear merged 1 commit into
masterfrom
codex/auto-footer-build-year
Jul 11, 2026
Merged

更新 Footer 建置年份#188
TonyPepeBear merged 1 commit into
masterfrom
codex/auto-footer-build-year

Conversation

@TonyPepeBear

Copy link
Copy Markdown
Member

變更內容

  • Footer 結束年份改由 Gatsby siteBuildMetadata.buildTime 取得
  • 每次建置時自動顯示當下年份,不再需要手動更新固定年份

影響

網站 Footer 會顯示 iOS Club 2016 - {建置年份},其餘內容與版面不變。

驗證

  • yarn exec prettier -- --write src/components/footer.js
  • env XDG_CONFIG_HOME=/tmp/codex-gatsby GATSBY_TELEMETRY_DISABLED=1 yarn build

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploying website2022 with  Cloudflare Pages  Cloudflare Pages

Latest commit: f67c9e1
Status: ✅  Deploy successful!
Preview URL: https://a908027e.website2022.pages.dev
Branch Preview URL: https://codex-auto-footer-build-year.website2022.pages.dev

View logs

@TonyPepeBear
TonyPepeBear force-pushed the codex/auto-footer-build-year branch from bdd66cd to f67c9e1 Compare July 11, 2026 19:11
@TonyPepeBear
TonyPepeBear marked this pull request as ready for review July 11, 2026 19:15
@TonyPepeBear
TonyPepeBear merged commit 5daba10 into master Jul 11, 2026
5 checks passed
@TonyPepeBear
TonyPepeBear deleted the codex/auto-footer-build-year branch July 11, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant