Voog.com

Contentblock

Contentblock enables defining content area with default content. Useful if many content areas and page with empty contentareas is difficult for user to understand.

{% contentblock name="slogan" publish_default_content="true" %}
  Put your slogan here
{% endcontentblock %}

Attributes

It supports same attributes as content tag and some additional attributes:

publish_default_content

Defines if the default content is visible in public site (true) or it will become visible after user modifies and saves the content (false). Default is false.