freemarker - JBake Freemarker 错误“这已评估为序列(包装器:ftSimpleSequence”
问题描述
给定一个jbake.properties
:
description: OptaPlanner optimizes business resource usage. It is a lightweight, embeddable, open source planning engine, written in 100% Java.
和一个模板:
<meta property="description" content="${config.description}">
Freemarker 抛出此错误
this has evaluated to a sequence (wrapper: f.t.SimpleSequence
解决方案
诀窍是逃避,
in jbake.properties
:
description: OptaPlanner optimizes business resource usage. It is a lightweight\\, embeddable\\, open source planning engine\\, written in 100% Java.
推荐阅读
- python - 如何使用 Anaconda 安装特定版本的 Python?
- reactjs - React Redux:如何找到 Redux 中调用的最后一个操作并再次触发相同的操作
- c# - 字符串 [] 与列表的幕后 foreach
- matplotlib - 在循环中添加新轴后重绘 plt 图
- c++ - 这个随机字符串打印代码有什么问题?
- cpu - 如果一个微处理器和总线有不同的位系统,那么微处理器系统总线周期是多少(续)
- azure-databricks - 从 EventHub 读取并写入 delta Lake 时找不到 sourceVersion 错误
- javascript - Javascript:检测何时添加了不可检索的 src 的 iframe
- javascript - .onclick() 仅在第一个按钮上触发
- ios - iOS 13 - UIBarButtonItem 尺寸太小