Created
November 9, 2018 19:42
-
-
Save kevinmpowell/920e817fdc3f2539d4f2642f2926585e to your computer and use it in GitHub Desktop.
Nunjucks array push without filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set a = (a.push(3),a) %} | |
{# Copied from: https://github.com/mozilla/nunjucks/issues/240 and added here for findability #} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment