I’m using the following code to get data from YAML like in this example: http://getkirby.com/blog/structured-field-content
echo $profiles['Twitter']['Username'];
Is there a way to use a variable instead ? Like this:
echo $profiles[$twitter]['Username'];
would make it easier if its used inside a template but doesn’t work for me.