I'm trying to set a background-img
in my css.liquid
file, and I need to get YAML variables in the page. How can I do that? This is what I have so far:
background-image: url({{ page.locales[page.default_locale][page.first_name] }});
I also had this:
background-image: url('{{ page.first_name }}{{ page.last_name }}.jpg');