Blog Post Structure
Blog posts are defined with these fields (types.ts:101-111):
Creating a Blog Post
Blog Configuration
The blog section appearance is controlled by global settings (types.ts:113-120):
Configuring Blog Display
Access blog settings at CMS → Blog → Settings (storage.ts:365-379):
- Section Title
- Section Subtitle
- Posts to Show
- AutoPlay
- AutoPlay Speed
- Card Style
The heading displayed above the blog section on the home page.Default:
"Últimas Publicaciones"Blog Categories
Organize posts into categories for better navigation:Common Categories
- Reflexiones: Spiritual reflections and teachings
- Comunidad: Community news and updates
- Recursos: Educational resources and guides
- Eventos: Event announcements and recaps
- Testimonios: Member testimonials and stories
Writing Content
Rich Text Editor
The content field supports HTML and Markdown:Content Best Practices
Structure
Structure
- Start with an engaging introduction
- Use H2/H3 headings to break up sections
- Keep paragraphs short (3-5 sentences)
- End with a clear conclusion or CTA
Readability
Readability
- Write at an 8th-grade reading level
- Use active voice
- Avoid jargon unless defined
- Include examples and stories
Media
Media
- Add images every 300-500 words
- Use descriptive alt text
- Optimize images (WebP, under 200KB)
- Consider adding videos or audio
SEO
SEO
- Include focus keyword in title
- Use keyword in first paragraph
- Add internal links to related content
- Write unique meta descriptions
Featured Images
Every blog post requires a featured image:Image Specifications
- Recommended Size: 1200x630px (Open Graph standard)
- Format: JPEG or WebP for photos, PNG for graphics
- File Size: Under 200KB for fast loading
- Aspect Ratio: 16:9 or 1.91:1
Selecting Images
You can add images from:- Media Library: Previously uploaded assets
- Upload New: Upload directly during post creation
- External URL: Link to images hosted elsewhere
Post Excerpts
The excerpt is a brief summary shown in post listings:- Length: 150-160 characters (about 25 words)
- Purpose: Entice readers to click through
- Tone: Descriptive and engaging, not salesy
- Call-to-Action: Optional, subtle (“Descubre cómo…”)
Good Excerpt Examples
✅ “Explora las raíces históricas de la meditación discursiva y cómo esta práctica transforma la vida cotidiana desde adentro.” ✅ “Conoce los testimonios de tres miembros sobre su viaje de transformación personal en la comunidad Cafh.”Poor Excerpt Examples
❌ “En este artículo hablamos sobre la meditación.” (Too vague) ❌ “La meditación discursiva es una práctica espiritual que consiste en reflexionar sobre temas profundos utilizando la mente…” (Too long, repeats title)Blog Storage and Management
Blog data is stored in localStorage (storage.ts:364-379):
| Key | Content |
|---|---|
cafh_blog_v1 | Array of blog posts |
cafh_blog_config_v1 | Blog section configuration |
Adding Posts Programmatically
Blog SEO Optimization
Meta Title
La Meditación Discursiva Explicada | Cafh
Meta Description
Write a unique description for each post (150-160 characters):Keywords
Include 5-10 relevant keywords:Open Graph Tags
For social media sharing:- og:title: Same as meta title
- og:description: Same as meta description
- og:image: Featured image URL (1200x630px)
- og:type:
article
Publishing Workflow
Blog Metrics
Track blog performance with these metrics (available in Dashboard):- Total Posts: Number of published articles
- Views: Individual post view counts
- Top Content: Most-viewed posts
- Categories: Distribution of posts by category
- Recent Activity: Latest published posts
View counts are tracked automatically when users visit post pages (
storage.ts:427-447).Content Guidelines
Voice and Tone
- Voice: Authentic, warm, knowledgeable
- Tone: Respectful, inclusive, encouraging
- Style: Clear, accessible, contemplative
Formatting Standards
- Use sentence case for headings
- Include whitespace between paragraphs
- Limit sentences to 20-25 words
- Break up long blocks with lists or quotes
Inclusive Language
- Use gender-neutral terms when possible
- Avoid assumptions about reader background
- Define specialized terms on first use
- Respect diverse spiritual perspectives
Updating Configuration
Update blog settings programmatically (storage.ts:369-379):
Related Documentation
CMS Overview
Content management system overview
Media Library
Upload and manage images for posts
Pages Editor
Create custom landing pages