FIX: fix date in articles

This commit is contained in:
Michal Kváček
2016-10-10 20:19:00 +02:00
parent 20f6295f84
commit b3d59fc182
2 changed files with 4 additions and 4 deletions
@@ -7,9 +7,9 @@
<div class="row article-list-item">
<aside class="column text-right large-1">
<div class="date">
<span class="date day big">@customDate('j', $page->published_from)</span>
<span class="date day big">@customDate('j', $page->published_from ?: $page->created_at)</span>
<br>
<span class="date uppercase month">@monthName($page->published_from)</span>
<span class="date uppercase month">@monthName($page->published_from ?: $page->created_at)</span>
</div>
<div class="m-t-25 author">
<img class="gravatar" src="@gravatar($page->author->email, 50)" alt="">
@@ -14,9 +14,9 @@
<div class="row">
<aside class="column text-right large-3">
<div class="date">
<span class="date day big">@customDate('j', $article->published_from)</span>
<span class="date day big">@customDate('j', $article->published_from ?: $article->created_at)</span>
<br>
<span class="date uppercase month">@monthName($article->published_from)</span>
<span class="date uppercase month">@monthName($article->published_from ?: $article->created_at)</span>
</div>
<div class="m-t-25 author">
{{--<small>{{str_limit($article->author->name, 15)}}</small>--}}