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 %}
{{ contentDetail.date|date('F j, Y') }}