Notebook
Jekyll Build Fixes Applied
Jekyll Build Fixes Applied
✅ All Issues Resolved
1. Fixed Layout Issues
All pages now use correct Minimal Mistakes layouts:
- ✅ Posts: Using
singlelayout (configured in _config.yml defaults) - ✅ Pages: Using
singlelayout - ✅ Blog: Using
postslayout - ✅ Categories: Using
categorieslayout - ✅ Tags: Using
tagslayout - ✅ Projects: Using
singleandcollectionlayouts - ✅ Home: Using
homelayout
Files Updated:
_config.yml- Set default layout tosinglefor all postsprojects/index.html- Changed frompagetosingleprojects/threejs-cube/index.html- Changed frompagetosingle
2. Fixed Liquid Syntax Errors
a. index.html - Removed orphaned {% endfor %} tags
- Cleaned up leftover code from old template
- Removed dangling liquid tags that had no matching
{% for %}
b. Power BI Post - Fixed double curly braces in code blocks
- Added
andtags around M code blocks - This prevents Liquid from trying to interpret
{{"OldName", "NewName"}}as Liquid syntax - Now the code displays correctly without parsing errors
File Fixed:
_posts/2023-08-15-power-bi-cheat-sheet.md
3. Additional Improvements
- Added
classes: wideto post defaults for better content display - All layouts now properly inherit from Minimal Mistakes remote theme
📊 Build Status
All critical errors have been resolved:
- ✅ No missing layouts
- ✅ No Liquid syntax errors
- ✅ No orphaned tags
- ✅ Proper theme configuration
🚀 Ready to Deploy
Your site should now build successfully on GitHub Pages!
Next Steps:
git add .
git commit -m "Fix Jekyll build errors - layouts and Liquid syntax"
git push origin main
Then monitor: https://github.com/CodeWithBehnam/CodeWithBehnam.github.io/actions
Build should complete successfully in 1-2 minutes! ✨
📝 Notes
About `` Tags
When you have code blocks that contain double curly braces {{}} or Liquid-like syntax, wrap them in {% raw %}....
This tells Jekyll to not process that content as Liquid template code.
About Layouts
Minimal Mistakes provides these built-in layouts:
single- For posts and regular pageshome- For homepageposts- For blog archivecategories- For category pagestags- For tag pagesarchive- For general archivessplash- For landing pagescollection- For collections
You should only use these layout names, not custom ones like post or page.