feat: base Astro template for RU market
- Astro config with RSS, sitemap - Pagefind search integration - Schema.org structured data - JSON Feed - 10 starter pages (home, about, blog) - 6 blog post templates - llms.txt for LLM consumption - bun package manager - .gitignore (node_modules, dist, .astro)
This commit is contained in:
1 parent
1e49734654
commit
d389eebeaf
27 files changed
+7302
No files matched your search
@@ -1 +1,42 @@
|
||||
# astro-template
|
||||
|
||||
Base Astro template for RU market SEO sites.
|
||||
|
||||
## Features
|
||||
|
||||
- **Astro** — static site generator, zero JS by default
|
||||
- **bun** — package manager
|
||||
- **Pagefind** — client-side search
|
||||
- **Schema.org** — structured data (JSON-LD)
|
||||
- **RSS** — `rss.xml` feed
|
||||
- **JSON Feed** — `feed.json`
|
||||
- **Sitemap** — auto-generated
|
||||
- **10 starter pages** — home, about, blog list + 6 blog posts
|
||||
- **llms.txt** — LLM-optimized content
|
||||
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
# Clone from Gitea
|
||||
git clone http://192.168.1.230:3333/neo/astro-template.git my-site
|
||||
cd my-site
|
||||
|
||||
# Install and run
|
||||
bun install
|
||||
bun run astro dev
|
||||
|
||||
# Build
|
||||
bun run astro build
|
||||
```
|
||||
|
||||
## Brand replacement
|
||||
|
||||
1. Update `package.json` name + `astro.config.mjs` site/brand
|
||||
2. Replace content in `src/pages/` and `src/content/blog/`
|
||||
3. Update `public/robots.txt`
|
||||
|
||||
## Pipeline
|
||||
|
||||
```bash
|
||||
python3 /home/neo/workspace/astro_pipeline.py all
|
||||
```
|
||||
Reference in new issue
Block a user