Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在博客右侧遇到了这条消息的问题。你能帮帮我吗?
我也遇到了这个错误。您可能正在对即将为零的值运行液体过滤器。我在我的 jekyll 网站上有这样的东西:
<title>{{ page.title | xml_escape }}</title>
在我的根页面上,没有设置标题。您可以通过确保设置该值来修复它,或者您可以使用类似这样的东西来强制将 nil 转换为字符串:
{{ page.title | append:' ' | xml_escape }}
希望这可以帮助你。