dillonzq / LoveIt

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

[BUG] github action build error #790

Closed divazone closed 1 year ago

divazone commented 1 year ago

Describe the bug 描述你遇到的错误

When I push my blog to gitub, it have some problem.

Liquid Exception: Liquid syntax error (line 1): Variable '{{< style "img { height: 1.25rem; }' was not properly terminated with regexp: /\}\}/ in themes/FixIt/docs/content/about/index.en.md

I ask some friends using this themes about this question,but they have never come across something like this before.

Expected behavior 期待的行为

build seccessful

Screenshots 屏幕截图

image

Build Environment 构建环境

Themes:latest

Preview Environment 预览环境

Additional Information 补充信息

main.yml

`name: github pages

on: push: branches:

jobs: deploy: runs-on: ubuntu-latest steps:

himazawa commented 1 year ago

To solve this issue just create a .nojekyll file in the root page of the repo