Entry nodes

Enable a model for entry pages

<model name="MyModel">
  <option name="cms.node" value="true" />
  <option name="json.api" value="projects" />
  <option name="rest.expose" value="true" />
</model>

Load an entry from a template

{$entry = $app.cms.properties->getNode()->getEntry($app.locale)}

{if $entry}
  {$entry->getMyOwnField()}
{/if}