title = "Content" url = "/staff/content/:content_type/:slug" layout = "staff" is_hidden = 0 [contentDetail] slug="{{ :slug }}" == user){ return redirect('/staff/login'); } } function onEnd() { if(isset($this->contentDetail) && $this->contentDetail){ $this->page['title']= $this->contentDetail->title; } } ?> == {% if contentDetail %}
{% if contentDetail.image %} {% endif %}

{{ contentDetail.date|date('F j, Y') }}

{{ contentDetail.description |raw }} {% if contentDetail.document %} {% endif %}
{% endif %}