0

If you have the following set in Nunjucks:

{% set breakpoints = { 'lap': 768px, 'desk': 1024px } %}

Is there a way to access the value of width for lap, without actually looping through the values? Something like:

{{ breakpoints | lap }} ? I've read through the documentation but I can't figure it out.

Thanks

patrickzdb
  • 928
  • 1
  • 10
  • 26

0 Answers0