This directory contains comprehensive configuration guides and setup documentation for the Zer0-Mistakes Jekyll theme.
Environment Preparation
# Install dependencies
bundle install
npm install
# Setup development environment
./init_setup.sh
Basic Configuration
# _config.yml basic setup
title: "Your Site Title"
description: "Your site description"
url: "https://your-site.com"
baseurl: ""
Advanced Configuration
# Advanced theme settings
theme_settings:
navigation: true
search: true
analytics: true
comments: true
# Local development with Docker
docker-compose up -d
# Local development with Jekyll
bundle exec jekyll serve --config _config.yml,_config_dev.yml
# Development with live reload
bundle exec jekyll serve --livereload
# Build for production
bundle exec jekyll build --config _config.yml
# Deploy to GitHub Pages
git push origin main
# Deploy with custom deployment
./scripts/deploy.sh production
# Configuration for username.github.io/repository-name
url: "https://username.github.io"
baseurl: "/repository-name"
custom_domain: ""
# Configuration for custom domain
url: "https://your-domain.com"
baseurl: ""
custom_domain: "your-domain.com"
# Configuration for subdirectory hosting
url: "https://your-domain.com"
baseurl: "/subdirectory"
custom_domain: "your-domain.com"
# Enable statistics dashboard
statistics:
enabled: true
cache_timeout: 3600
show_analytics: true
show_performance: true
# Enable Mermaid diagrams
mermaid:
enabled: true
theme: "forest"
cdn_version: "10.6.1"
# Enable search
search:
enabled: true
provider: "lunr"
placeholder: "Search content..."
# Google Analytics configuration
google_analytics:
tracking_id: "GA_TRACKING_ID"
enabled: true
anonymize_ip: true
// Custom CSS variables
:root {
--primary-color: #your-color;
--secondary-color: #your-color;
--background-color: #your-color;
--text-color: #your-color;
}
# Custom layout settings
layout_settings:
sidebar: true
sidebar_position: "left"
navigation_style: "horizontal"
footer_style: "minimal"
# Performance settings
performance:
minify_html: true
minify_css: true
minify_js: true
lazy_loading: true
image_optimization: true
# _config.yml (base configuration)
title: "Site Title"
description: "Site description"
# _config_dev.yml (development overrides)
url: "http://localhost:4000"
environment: "development"
show_drafts: true
# _config_prod.yml (production overrides)
url: "https://your-site.com"
environment: "production"
minify_html: true
# Jekyll plugins
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-paginate-v2
# Plugin-specific settings
feed:
posts_limit: 20
excerpt_only: true
paginate: 10
paginate_path: "/page:num/"
# Build settings
markdown: kramdown
highlighter: rouge
permalink: /:categories/:title/
# Kramdown settings
kramdown:
input: GFM
syntax_highlighter: rouge
syntax_highlighter_opts:
line_numbers: true
baseurl setting in _config_dev.ymlbaseurl and asset path configurationcustom_domain setting in configuration# Check configuration
bundle exec jekyll doctor
# Validate configuration syntax
ruby -c _config.yml
# Test build process
bundle exec jekyll build --verbose
# Debug development server
bundle exec jekyll serve --trace
Maintained By: Zer0-Mistakes Configuration Team
Last Updated: October 26, 2025
Next Review: Quarterly configuration review