Skip to content

Instantly share code, notes, and snippets.

@keithmancuso
Created April 3, 2014 03:53
Show Gist options
  • Save keithmancuso/9948037 to your computer and use it in GitHub Desktop.
Save keithmancuso/9948037 to your computer and use it in GitHub Desktop.
Entrys as Json
{% set workshops = craft.entries.section('workshops').find() %}
{% spaceless %}
{{ workshops|json_encode }}
{% endspaceless %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment