Open russback opened 9 years ago
It would be great if this allowed a single entry rather than an array of entries.
Hey @russback ... Perhaps something like this ...
{{ craft.entries.section('news').first() | prune(['title', 'body'], {'single':true}) | json_encode() | raw }}
It would be great if this allowed a single entry rather than an array of entries.