Hi all,
Tried with SSR variable, but it didn’t work. Any idea?
Many thanks!
Gabor
Hi all,
Tried with SSR variable, but it didn’t work. Any idea?
Many thanks!
Gabor
Can you please provide more details about what you are trying to achieve?
Hi Teodor,
I have a nodejs project, I need to add a rich snippet (faq type this time) to the head tag, but only on one content page. Created a template variable called rich-snippet, added the code on the content page, and added the following in the layout page head tag:
<script type="application/ld+json">
<%-_('rich-snippet',locals)%>
</script>
The result is not the code but a “NaN“
Gabor
rich-snippet is not a valid variable name, the expression parser sees this as a substraction rich - snippet.
Ah, thanks Patrick, that was it! Would be great to have a note or a warning.
Many thanks!