forked from projects/fipamo
56 lines
1.8 KiB
PHP
56 lines
1.8 KiB
PHP
@extends('fipamo-default-v2.base')
|
|
|
|
@section('title', $title)
|
|
|
|
@section('main-content')
|
|
<article>
|
|
<h1>{{ $title }}</h1>
|
|
<p>{!!$content!!}</p>
|
|
</article>
|
|
<section role="page-meta">
|
|
<div>
|
|
<h2>RECENT</h2>
|
|
@foreach($recent as $item)
|
|
@if(isset($dynamicRender))
|
|
@if($dynamicRender == 'true')
|
|
<a href="{{ "/".$item['path']."/".$item['slug'] }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@else
|
|
<a href="{{ "/".$item['path']."/".$item['slug'].".html" }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@endif
|
|
|
|
@else
|
|
<a href="{{ "/".$item['path']."/".$item['slug'].".html" }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@endif
|
|
@endforeach
|
|
|
|
</div>
|
|
<div>
|
|
<h2>FEATURED</h2>
|
|
@foreach($feature as $item)
|
|
@if(isset($dynamicRender))
|
|
@if($dynamicRender == 'true')
|
|
<a href="{{ "/".$item['path']."/".$item['slug'] }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@else
|
|
<a href="{{ "/".$item['path']."/".$item['slug'].".html" }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@endif
|
|
|
|
@else
|
|
<a href="{{ "/".$item['path']."/".$item['slug'].".html" }}">
|
|
{{ $item['title'] }}
|
|
</a><br/>
|
|
@endif
|
|
@endforeach
|
|
</div>
|
|
</section>
|
|
@endsection
|