refactor: move blog from EmDash to Astro content collections

EmDash CMS integration is being removed. The blog content is
moved to native Astro content collections (markdown files in
src/content/blog/) which works with the static output config.

Changes:
- Remove EmDash from astro.config.mjs (revert to static output)
- Remove emdash packages from package.json/package-lock.json
- Remove seed/seed.json (was EmDash-only)
- Remove src/live.config.ts (EmDash Astro loader)
- Add src/content.config.ts (Astro content collection for blog)
- Move 3 blog posts to src/content/blog/*.md
- Update src/pages/index.astro to use getCollection('blog')
- Update src/pages/บทความ/[slug].astro to use render() from astro:content
  (Astro 6 API: render(article), not article.render())
- Update src/pages/บทความ/index.astro (blog list)
- Add .hermes/ to .gitignore

Verified:
- npm run build: 35 pages, complete in 2.50s
- / , /aeroflex, /about-us, /บทความ, /บทความ/welcome-post: all 200
This commit is contained in:
Kunthawat Greethong
2026-06-03 14:02:41 +07:00
parent c8cf03a725
commit ef4b0f2e89
13 changed files with 296 additions and 4800 deletions

View File

@@ -0,0 +1,50 @@
---
title: "ความรู้เกี่ยวกับท่อ PPR สำหรับระบบน้ำ"
excerpt: "ท่อ PPR เป็นวัสดุที่นิยมใช้ในระบบประปาและการเดินท่อน้ำร้อน-น้ำเย็น เนื่องจากมีคุณสมบัติที่เหมาะสมและอายุการใช้งานยาวนาน"
featured_image: "/images/hdpe001-page1.jpg"
published_at: 2025-02-01
tags: ["ท่อ PPR", "ระบบน้ำ", "ความรู้"]
---
# ความรู้เกี่ยวกับท่อ PPR
**ท่อ PPR (Polypropylene Random Copolymer)** เป็นท่อพลาสติกคุณภาพสูงที่ได้รับความนิยมอย่างแพร่หลายในงานระบบประปา เนื่องจากมีคุณสมบัติที่เหมาะสมกับการใช้งานทั้งน้ำร้อนและน้ำเย็น
## คุณสมบัติเด่นของท่อ PPR
### 1. ทนความร้อนสูง
- ทนอุณหภูมิได้ถึง **95°C**
- เหมาะสำหรับงานน้ำร้อนและระบบทำความร้อน
### 2. อายุการใช้งานยาวนาน
- มากกว่า **50 ปี** เมื่อใช้งานตามมาตรฐาน
- ทนต่อการกัดกร่อนจากสารเคมี
### 3. Food Grade ปลอดภัย
- ไม่มีสารโลหะหนักปนเปื้อน
- เหมาะสำหรับระบบน้ำดื่ม
### 4. น้ำหนักเบา ติดตั้งง่าย
- เบากว่าท่อเหล็กหลายเท่า
- ประหยัดค่าแรงและเวลา
## มาตรฐานการผลิต
ท่อ PPR ที่มีคุณภาพต้องผ่านมาตรฐาน:
- **DIN 8077 / DIN 8078** (มาตรฐานเยอรมัน)
- **ISO 15874** (มาตรฐานสากล)
- **มอก.** สำหรับผลิตภัณฑ์ในประเทศไทย
## การเลือกขนาดท่อ PPR
| ขนาดท่อ (mm) | ขนาด (นิ้ว) | การใช้งาน |
|---|---|---|
| 20 | 1/2" | ท่อน้ำดื่มในบ้าน |
| 25 | 3/4" | ท่อน้ำทั่วไป |
| 32 | 1" | ท่อเมนเข้าบ้าน |
| 40-50 | 1.5"-2" | ท่อเมนอาคาร |
| 63+ | 2.5"+ | ท่อเมนโรงงาน |
## สรุป
ท่อ PPR เป็นตัวเลือกที่คุ้มค่าสำหรับระบบน้ำทั้งในบ้านและอาคาร ด้วยคุณสมบัติที่เหนือกว่าท่อโลหะในหลายด้าน และอายุการใช้งานที่ยาวนาน