Notebook
Migration to Minimal Mistakes Theme
Migration to Minimal Mistakes Theme
What Changed
✅ Completed
- Theme: Migrated from
jekyll-theme-minimaltominimal-mistakes-jekyll - Gemfile: Updated with Minimal Mistakes dependencies including
jekyll-include-cache - _config.yml: Completely reconfigured for Minimal Mistakes with:
- Author profile with bio and social links
- Navigation configuration
- Category and tag archives using liquid (GitHub Pages compatible)
- Proper defaults for posts and pages
- Navigation: Created
_data/navigation.ymlwith main menu - Pages: Created new
_pages/directory with:blog.md- Blog archive pagecategories.md- Category archive pagetags.md- Tag archive pageprojects.md- Projects collection pageabout.md- About page in markdown
- Layouts: Removed custom layouts (now using Minimal Mistakes built-in layouts)
- Plugins: Removed custom plugins (GitHub Pages doesn’t support them)
- Old directories: Removed
blog/,categories/,tags/,about/,faceted/
📋 What You Need to Do
- Push to GitHub: Commit and push all changes
git add . git commit -m "Migrate to Minimal Mistakes theme" git push origin main -
Wait for GitHub Pages: It may take a few minutes for GitHub Pages to rebuild
- Optional Customizations:
- Change theme skin in
_config.yml(line 2):minimal_mistakes_skin: "default"- Options: “air”, “aqua”, “contrast”, “dark”, “dirt”, “neon”, “mint”, “plum”, “sunrise”
- Add your profile image to
/assets/images/and updateauthor.avatarpath - Customize colors by adding custom CSS in
/assets/css/main.scss
- Change theme skin in
🎨 Theme Features Now Available
- ✅ Responsive design
- ✅ Author profile sidebar
- ✅ Social sharing buttons
- ✅ Related posts
- ✅ Table of contents (TOC) for long posts
- ✅ Read time estimates
- ✅ Category and tag archives
- ✅ Search functionality
- ✅ Comments support (configure if needed)
- ✅ Analytics support (configure if needed)
📝 Post Front Matter
Your existing posts will work, but you can enhance them with Minimal Mistakes features:
---
layout: single # Already set as default
title: "Your Post Title"
date: 2025-10-07
categories: [Category1, Category2]
tags: [tag1, tag2, tag3]
# Optional enhancements:
toc: true # Table of contents (enabled by default)
toc_sticky: true # Sticky TOC (enabled by default)
header:
image: /assets/images/header.jpg # Header image
teaser: /assets/images/teaser.jpg # Teaser for archive pages
excerpt: "Custom excerpt text" # Override auto-generated excerpt
---
🔧 Troubleshooting
If something doesn’t look right after deployment:
- Check GitHub Pages build status in your repository settings
- Ensure all paths in
_config.ymlare correct - Make sure
remote_theme: mmistakes/minimal-mistakesis set correctly - Clear browser cache to see latest changes
📚 Resources
Backup Files
If you need to revert or reference old files:
_layouts.backup/- Original custom layouts_includes.backup/- Original custom includes