@foreach($templates as $template)
{{ $template->name }}
{{ $template->subtitle }}
@if(!empty($template->preview))

@endif
#{{ $template->id }}
@if(!empty($template->demo))
@endif
${{ $template->price }}
$template->slug]) }}&t={{ urlencode($template->name) }}','facebook-share-dialog','width=626,height=436');return false;" class="icon-facebook">
$template->slug]) }}','twitter-share-dialog','width=626,height=436');return false;" class="icon-twitter">
$template->slug]) }}','vk-share-dialog','width=626,height=436');return false;" class="icon-vk">
$template->slug]) }}','googleplus-share-dialog','width=626,height=436');return false;" class="icon-gplus">
$template->slug]) }}&description={{ urlencode($template->name) }}','pin-share-dialog','width=626,height=436');return false;" class="fa fa-pinterest">
$template->slug]) }}" class="icon-mail">
@endforeach
@foreach($categories as $cat)
@foreach($cat->templates as $template)
{{ $template->name }}
{{ $template->subtitle }}
@if(!empty($template->preview))

@endif
#{{ $template->id }}
@if(!empty($template->demo))
@endif
${{ $template->price }}
$template->slug]) }}&t={{ urlencode($template->name) }}','facebook-share-dialog','width=626,height=436');return false;" class="icon-facebook">
$template->slug]) }}','twitter-share-dialog','width=626,height=436');return false;" class="icon-twitter">
$template->slug]) }}','vk-share-dialog','width=626,height=436');return false;" class="icon-vk">
$template->slug]) }}','googleplus-share-dialog','width=626,height=436');return false;" class="icon-gplus">
$template->slug]) }}&description={{ urlencode($template->name) }}','pin-share-dialog','width=626,height=436');return false;" class="fa fa-pinterest">
$template->slug]) }}" class="icon-mail">
@endforeach
@endforeach