Forum Discussion
luk
6 years agoBoss
Because FreeMarker is not supported within text-strings, you can use the ${} syntax to reference other text-keys, but not to call any FreeMarker related objects. What you could do is to use a placeholder and pass in the page title when you call text.format(), e.g:
theme-lib.message-list-heading.tkb = {0}
and then in Freemarker do:
<h1>${text.format('theme-lib.message-list-heading.tkb', coreNode.title)}</h1>
Related Content
- 2 years ago
- 5 months ago