Challenge10k · Acceleration

Jekyll mastery – rozbudowa i automatyzacja

03 October 2025 5 h 5 h total
Czysty kod

Pięciogodzinna sesja nad zaawansowanym Jekyll setup: i18n system, Challenge10k dashboard, content batching i automation pipeline.

Focus area
Jekyll + i18n + automation pipeline
Mood
Deep focus
Tags
jekyll i18n liquid automation bootstrap github-pages

Najdłuższa sesja tego miesiąca – kompletna przebudowa Jekyll architecture z focus na skalowalnością i automation.

🌍 I18n System Implementation (2h)

Zbudowałem custom i18n plugin dla Jekyll:

Features implemented:

  • Multi-language support (PL/EN)
  • Translation key matching between posts
  • Locale-specific URL structures
  • Language switcher component
  • Fallback mechanism for missing translations

Files created:

  • _plugins/i18n.rb – core functionality
  • _locales/en.yml + _locales/pl.yml – translation files
  • _includes/language-switcher.html – UI component

Challenge: Jekyll’s static nature + dynamic language switching = creative Liquid templating required.

📊 Challenge10k Dashboard (1.5h)

Rozbudowałem dashboard o advanced metrics:

New calculations:

  • Content hours batching (posts → practice hours)
  • Logbook + content hours aggregation
  • Progress projections with trend analysis
  • Monthly breakdowns with visual charts

Technical approach:

  • Liquid loops for content processing
  • YAML data structures for configuration
  • Bootstrap components for responsive layout
  • Custom CSS for challenge-specific styling

🔄 Content Batching Logic (1h)

Implementacja systemu “writing hours”:




Result: Posts z writing_hours metadata automatycznie liczą się do Challenge10k totals.

🎨 Bootstrap 5.3 Integration (0.5h)

Upgrade na najnowszy Bootstrap:

  • CDN integration dla szybszego loadingu
  • Custom CSS variables dla brand colors
  • Responsive breakpoints optimization
  • Icon fonts (Bootstrap Icons) integration

Rezultaty

  • Full i18n system – ready for scale
  • Challenge10k v2 – advanced metrics + projections
  • Content batching – automated writing hours tracking
  • Modern Bootstrap – responsive + performant
  • Documentation – comprehensive CLI guide created

Technical Architecture

Jekyll Site Structure:
├── _plugins/i18n.rb          # Custom translation system
├── _locales/*.yml            # Translation files
├── _data/challenge.yml       # Challenge configuration
├── _layouts/challenge10k.html # Dashboard layout
├── _logbook/*.md             # Practice sessions
├── _posts/*.md               # Bilingual content
└── assets/css/*.css          # Custom styling

Linki powiązane

Key Learnings

  1. Liquid templating is powerful but has performance limits
  2. YAML front matter enables complex content classification
  3. Plugin architecture allows unlimited Jekyll customization
  4. GitHub Pages constraints require careful dependency management
  5. Bootstrap CDN beats local compilation for simple sites

Performance Metrics

  • Build time: 0.7s (300% improvement)
  • Bundle size: 85KB (40% reduction)
  • Lighthouse score: 95/100
  • Mobile responsive: ✅ Passed all breakpoints

Next: GitHub Actions automation + automated screenshot generation for social sharing.