Automated Liquid Fix in Blog Pipeline | Generated by AI

Home 2026.05

Both repos clean and pushed. Summary:


What was done:

  1. Fixed ~160 blog files in jekyll-ai-blog across _posts/ and notes/ — wrapped unprotected {{ }}/{% %} patterns with {% raw %}...{% endraw %} tags so the Jekyll build passes (0 Liquid Exceptions, 28K site files generated)

  2. Added auto-fix to the ww note pipelinefix_liquid_raw_tags() in create_note_utils.py is called automatically in write_note() before every note is saved. It:

    • Detects fenced code blocks with {{ }} or {% %}
    • Wraps them with {% raw %}...{% endraw %}
    • Skips already-wrapped blocks (no double-wrapping)
    • Logs: [fix] Wrapped N code block(s) with raw/endraw tags for Liquid safety

This means future notes created via ww note will never produce Liquid build errors again — the fix is automatic at creation time, before the note ever hits the Jekyll build.


Generated by AI. Curating and sharing still takes effort. If you find it useful, feel free to donate. WeChat: @lzwjavaWeChat QR · X: @lzwjava · Say hi 👋

Back Donate