Hexo uses Nunjucks to render posts (Swig was used in the older version, which shares a similar syntax). Content wrapped with {{ }}
or {% %}
will get parsed and may cause problems. You can skip the parsing by wrapping it with the raw tag plugin, a single backtick {{ }}
or a triple backtick.
for example:
1 | {% raw %} |
-------------本文结束感谢您的阅读-------------
本文作者:
Corner
本文链接: http://corner430.github.io/2023/11/27/hexo-g-%E6%8A%A5%E9%94%99-expected-variable-end/
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!
本文链接: http://corner430.github.io/2023/11/27/hexo-g-%E6%8A%A5%E9%94%99-expected-variable-end/
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!
