[SOLVED] Variable for current workspace in my HTML template

Is there a variable out of the box I can use for something like <div class"{workspace}"> if I want to know if the page is rendered live or in the backend?

Via Fusion:

${node.context.workspace.name}
1 Like

Thank you! That’s exactly what I was looking for.

Example.fusion
workspace = ${node.context.workspace.name}

There is also: ${node.context.inBackend}

1 Like