修改_config.yml里面的属性,提交的时候无法出现我修改的内容
Closed this issue · 0 comments
yunkex commented
请教一个问题,我在fork你的这个项目,然后修改_config.yml里面的属性和头像,提交的时候无法出现我修改的内容。
问题如下:我没办法找到**_site**,也就没法修改属性错误,想请教下怎么弄。
Run bash tools/deploy.sh
Configuration file: /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/_config.yml
Source: /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io
Destination: /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.672 seconds.
Auto-regeneration: disabled. Use --watch to enable.
Running ["ImageCheck", "HtmlCheck", "ScriptCheck", "LinkCheck"] on ["_site"] on *.html...
Attribute set `<img data-src="{" src"="class="lazyload"" data-proofer-ignore="">` contains an error!
/home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.[4](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:5)/lib/html-proofer/element.rb:19:in `attr_reader': invalid attribute name `src"' (NameError)
htmlproofer 3.19.4 | Error: invalid attribute name `src"'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/element.rb:19:in `block in initialize'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/element.rb:17:in `each_pair'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/element.rb:17:in `initialize'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/check.rb:22:in `new'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/check.rb:22:in `create_element'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/html-proofer-3.19.4/lib/html-proofer/check/images.rb:20:in `block in run'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.1[5](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:6).4-x8[6](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:7)_64-linux/lib/nokogiri/xml/node_set.rb:235:in `block in each'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.[7](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:8).0/gems/nokogiri-1.15.4-x[8](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:9)6_64-linux/lib/nokogiri/xml/node_set.rb:234:in `upto'
from /home/runner/work/serendipity-zip.github.io/serendipity-zip.github.io/vendor/bundle/ruby/2.7.0/gems/nokogiri-1.[15](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:16).4-x86_64-linux/lib/nokogiri/xml/node_set.rb:[23](https://github.com/serendipity-zip/serendipity-zip.github.io/actions/runs/5862630598/job/15894794068#step:4:24)4:in `each'