I have the following in my theme.yaml
:
globals:
facebook: test
twitter: testbar
In a template, I want to do the following:
{{ globals }}
<div class="input-block input-text">
<label for="{{ key }}">{{ key }}</label><input type="text" name="vars[{{ value }}]" value="{{ value }}">
</div>
{{ /globals }}
But that doesn't work. No looping and no values for key
or value
.