v0.5.15 - Added subname to news

This commit is contained in:
frederikpyt
2020-08-10 09:37:19 +02:00
parent 726cb52aee
commit bd7800f5a0
6 changed files with 11 additions and 3 deletions
@@ -61,6 +61,7 @@
@foreach(\App\News::query()->orderBy("created_at", "desc")->get() as $new)
<div style="border: 4px solid rgba(0,0,0, 0.2); border-radius: 4px; padding: 4px; margin-top: 1.5rem">
<h2 class="sde-blue mt-0 mb-0 text-center" style="margin-bottom: 8px; ">{{ $new->name }}</h2>
<h4 class="sde-blue mt-0 mb-0 text-center" style="margin-bottom: 8px; ">{{ $new->subname }}</h4>
{!! $new->content !!}
</div>
@endforeach