Debugging

It is often useful to know the shape of the data passed to your page templates; to print the data inline use the json helper.

<pre>{{json this pretty=true}}</pre>

If you want to output to a terminal window use the log helper:

{{log (json this pretty=true)}}

Narrow it down if you need to, for example:

<pre>{{json authors pretty=true}}</pre>

Will output:

{
  "all": {
    "tmpfs": {
      "alias": "tmpfs",
      "name": "Muji",
      "url": "https://tmpfs.org/"
    }
  },
  "attributed": [
    {
      "alias": "tmpfs",
      "name": "Muji",
      "url": "https://tmpfs.org/"
    }
  ]
}