Website Architecture (Jekyll Layout + Includes)

This repo was refactored to use a single Jekyll layout with shared includes. The goal is to eliminate duplication across pages (head/meta, navigation, footer, scripts) so changes are safer and faster.

What Changed (High‑Impact 80/20)

Why It Matters

How To Work With It

Adding a New Page

  1. Create new-page.html:
    ---
    layout: default
    title: New Page - Puente Scientific
    description: One‑line summary for SEO
    lang: en
    ---
    
  2. Paste only the content (ideally wrapped in <main id="main-content">…</main> to keep skip‑link support).
  3. If needed, add extra_css or extra_scripts arrays.
  4. If a nav link is required, update _includes/header.html.

Guardrails

Local Dev

Notes

🚀 Local Development

Quick Start

# Install dependencies
bundle install --path vendor/bundle

# Start development server
bundle exec jekyll serve --port 4000 --host 0.0.0.0

Access

Stop Server

pkill -f jekyll

📖 Full Guide: See LOCAL_DEVELOPMENT.md for detailed instructions.