dillonzq / LoveIt

❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
https://hugoloveit.com
MIT License
3.38k stars 1.07k forks source link

[BUG] Liquid syntax error in GitHub Action #813

Open isjwdu opened 1 year ago

isjwdu commented 1 year ago

Do you have any ideas to fix the GitHub Action bug? It seems like LoveIt theme caused an error in building with Jekyll.

Error

... Layout source: theme Rendering: themes/LoveIt/exampleSite/content/about/index.en.md Pre-Render Hooks: themes/LoveIt/exampleSite/content/about/index.en.md Rendering Liquid: themes/LoveIt/exampleSite/content/about/index.en.md github-pages 228 | Error: Liquid syntax error (line 1): Variable '{{< style "img { height: 1.25rem; }' was not properly terminated with regexp: /}}/

nekr0z commented 1 year ago

This is not a bug. LoveIt is a Hugo theme, it isn't supposed to work with Jekyll.

isjwdu commented 1 year ago

This is not a bug. LoveIt is a Hugo theme, it isn't supposed to work with Jekyll.

Thank you for your reply, I am a beginner in using Hugo and LoveIt theme, and I am not familiar with related knowledge . Is there any way to fix or prevent this Github Action from reporting an error? Although it still works and syncs with updates from the website.

darcyjoven commented 1 year ago

.nojekyllthis work for me.