{{if is_array($data)}}

{{$data.title}}

{{/if}}
{{if !is_array($data)}}
Sorry, this link is broken.
{{else}}
{{$data.title}}

{{$data.title}}

{{$data.description|default:"Sorry, there is no description"}}

{{if @count($data.categories)>0}}
Categories: {{foreach name=data item=item from=$data.categories}} {{$item.title}}{{if !$smarty.foreach.data.last}}, {{/if}} {{/foreach}}
{{/if}}
Rating: {{if $data.rating>0}}{{if $data.rating<=0.5}}1{{else}}1{{/if}}{{else}}1{{/if}} {{if $data.rating>1}}{{if $data.rating<=1.5}}2{{else}}2{{/if}}{{else}}2{{/if}} {{if $data.rating>2}}{{if $data.rating<=2.5}}3{{else}}3{{/if}}{{else}}3{{/if}} {{if $data.rating>3}}{{if $data.rating<=3.5}}4{{else}}4{{/if}}{{else}}4{{/if}} {{if $data.rating>4}}{{if $data.rating<=4.5}}5{{else}}5{{/if}}{{else}}5{{/if}} by {{$data.rating_amount}} raters
Rate this website using the stars above! Thank you for rating this website! You have already rated this website!
{{/if}}