Add env-based site configuration

This commit is contained in:
2025-11-17 16:32:09 +08:00
parent 48521d6f5c
commit 10948aa2ca
5 changed files with 24 additions and 11 deletions

8
.env.local.example Normal file
View File

@@ -0,0 +1,8 @@
# Copy this file to `.env.local` and adjust values.
# All vars prefixed with NEXT_PUBLIC_ are exposed to the browser.
NEXT_PUBLIC_SITE_NAME="Your Name"
NEXT_PUBLIC_SITE_TITLE="Your Personal Site"
NEXT_PUBLIC_SITE_DESCRIPTION="Personal homepage and blog."
NEXT_PUBLIC_SITE_URL="https://example.com"
NEXT_PUBLIC_SITE_AUTHOR="Your Name"