Forum Discussion
iftomkins
11 years agoMaven
Any ideas? I suppose I can check the URL of each node manually, and if it contains a certain string, conditionally assign a class to that HTML element, but I'd imagine there'd be an easier way....
samudhraa
11 years agoExpert
Hi ,
I suppose you can use the coreNode context object to get the board it and use the value as class in HTML.
Something like this.
<#assign boardId = coreNode.id />
<div class="${boardId}">
bla bla
</div>
Hope that helps.
Thanks,
Sam
Related Content
- 2 years ago
- 11 years ago
- 4 years agoInactive User