Fork me on GitHub

Contents placeholder

{% contents id %} is a content placeholder you can use to give your content editor the ability to place content (text, images, plugins, markdown, see Content Types) at the position of this statement.

Example:

<div class="main-sidebar">
  {{ navigationLevel(2) }}
</div>

<div class="main-content">
  {% contents 1 %}
</div>

At {% contents 1 %} is in the Jarves Editor (Administration -> Pages) now a management interface given, the user can use to place own custom content. In the actual website (front end) is the rendered version displayed.

More information can be found in the article Create A Theme documentation.


Found a typo? The website is based on Markdown, please feel free to send us a pull request! :) github.com/jarves/jarves.io/tree/master/app/jarves/website/jarves.io