@pitaj please have look at
Issue on reaching out to new routes established using the WriteAPI
where my mate described the approach and the issue in more detail.
I want to display the category whitelisted tags and I found out how.
<span>{../tagWhitelist}</span>
The only problem is that the tags have no space after commas, like "abcd,efgh,ijkl" instead of "abcd, efgh, ijkl".
Is it possible to change this somehow?
I think tagWhiteList
is an array so you can use BEGIN/END
. Try this
<!-- BEGIN tagWhitelist -->
<span>@value, </span>
<!-- END tagWhitelist -->
New syntax:
{{{each tagWhiteList}}}
<span>{@value}</span>
{{{end}}}
Thank you both.
NodeBB is cool. Is there a place where I can find the documentation for the syntax?
@PitaJ one last thing. I found that in config I can set the max length of tags, but in the admin section is ignoring it and falls back to 15 characters.
Is it possible to set for admin too?
@george_i Please post an issue on our tracker with reproduction steps. Thanks.
@baris nevermind, I am new to NodeBB and I was trying to set the max length through an inappropriate method.