You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-20Lines changed: 37 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,8 +74,6 @@ While this approach offers flexibility and control, it comes with some limitatio
74
74
75
75
# Shadcn + Astro — Ink Landing Page
76
76
77
-
A modern, responsive business landing page built with [Astro](https://astro.build/) and [ShadcnUI](https://ui.shadcn.com/).
78
-
79
77
This project showcases a complete business website with sections for Header, Hero, Changelog Timeline,FAQ, and call-to-action components.
80
78
81
79
## ✨ Features
@@ -119,7 +117,6 @@ shadcn-studio-astro-template/
119
117
│ ├── pages/ # Route-based pages
120
118
│ │ ├── 404.astro # 404 page
121
119
│ │ ├── index.astro # Home page
122
-
│ │ ├── login.astro # Login page
123
120
│ │ └── rss.xml.js # RSS feed generator
124
121
│ │
125
122
│ ├── styles/
@@ -230,27 +227,47 @@ export const siteConfig = {
230
227
}
231
228
```
232
229
233
-
## 📦 Dependencies
230
+
### 🔍 SEO & Site Configuration
231
+
232
+
Configure the site's SEO and global metadata in `src/consts.ts`. These settings power the `HeadSeo.astro` layout and `seo.ts` helpers so pages have correct titles, descriptions, and social previews.
233
+
234
+
Recommended fields:
235
+
236
+
-`siteTitle`: The site-wide default title.
237
+
-`siteDescription`: Default meta description for pages.
238
+
-`siteUrl`: The canonical base URL for building absolute links.
239
+
-`siteLocale`: Locale string used for html/lang and Open Graph (e.g. `en-US`).
240
+
-`siteAuthor`: Default author/creator name.
241
+
-`siteKeywords`: Array of SEO keywords.
242
+
-`socialImage`: Path to the default social preview image (OG/Twitter card).
243
+
-`faviconPath`: Path to the favicon in `/public`.
244
+
-`themeColor`: Theme color meta for browsers and PWA.
245
+
-`twitterHandle`: Official Twitter/X handle for site cards.
246
+
-`analyticsId`: Optional analytics measurement id (Google Analytics, Plausible, etc.).
234
247
235
-
### Main Dependencies
248
+
Example `siteConfig` with SEO fields:
236
249
237
-
-**Astro 5.16.6** - Fast static site generator with zero JS by default
238
-
-**React 19.2.3** - UI library for interactive components
0 commit comments