FEATURE: more changes to article and article list
This commit is contained in:
@@ -76,11 +76,11 @@ class Handler implements TemplateHandler
|
||||
],
|
||||
[
|
||||
'module' => 'ArticleList',
|
||||
'templateName' => 'articlelist::admin.templatePath'
|
||||
'templateName' => 'articlelist::module.templatePath'
|
||||
],
|
||||
[
|
||||
'module' => 'Article',
|
||||
'templateName' => 'article::admin.templatePath'
|
||||
'templateName' => 'article::module.templatePath'
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
+5
-1
@@ -5355,6 +5355,9 @@ table.hover tr:nth-of-type(even):hover {
|
||||
.m-0 {
|
||||
margin: 0 !important;
|
||||
}
|
||||
.m-t-5 {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.m-t-25 {
|
||||
margin-top: 25px;
|
||||
}
|
||||
@@ -9287,7 +9290,8 @@ article h2 {
|
||||
|
||||
article h3 {
|
||||
margin-top: 20px;
|
||||
font-size: 1.2em;
|
||||
font-size: 1.15em;
|
||||
color: #414042;
|
||||
}
|
||||
|
||||
.off-canvas-content .article-list-item div {
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<div class="row article-list-item">
|
||||
<aside class="column text-right large-1">
|
||||
<div class="date">
|
||||
<span class="date day big">@customDate('j', $page->created_at)</span>
|
||||
<span class="date uppercase month">@monthName($page->created_at)</span>
|
||||
<span class="date day big">@customDate('j', $page->published_from ?: $page->created_at)</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="">
|
||||
@@ -68,7 +68,7 @@
|
||||
<?php
|
||||
$loggedUser = \Auth::user();
|
||||
?>
|
||||
<div class="row m-t-25 comments-form">
|
||||
<div class="large-11 pull-right m-t-25 comments-form">
|
||||
<div class="column large-1">
|
||||
@if($loggedUser)
|
||||
<img src="@gravatar($loggedUser->email)" class="gravatar" alt="">
|
||||
|
||||
@@ -14,22 +14,22 @@
|
||||
<div class="row">
|
||||
<aside class="column text-right large-3">
|
||||
<div class="date">
|
||||
<span class="date day big">@customDate('j', $article->created_at)</span>
|
||||
<span class="date day big">@customDate('j', $article->published_from ?: $article->created_at)</span>
|
||||
<br>
|
||||
<span class="date uppercase month">@monthName($article->created_at)</span>
|
||||
<span class="date uppercase month">@monthName($article->published_from ?: $article->created_at)</span>
|
||||
</div>
|
||||
<div class="m-t-25 author">
|
||||
<div class="m-t-15 author">
|
||||
{{--<small>{{str_limit($article->author->name, 15)}}</small>--}}
|
||||
<img class="gravatar" src="@gravatar($article->author->email, 35)" alt="">
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<header>
|
||||
<h5>
|
||||
<h3 class="m-t-5">
|
||||
<a href="{{route('page.content', ['url' => $article->url])}}">
|
||||
{{$article->title}}
|
||||
</a>
|
||||
</h5>
|
||||
</h3>
|
||||
</header>
|
||||
<article class="p-0 column text-justify large-9">
|
||||
{{str_limit($article->meta_description, 250)}}
|
||||
|
||||
Reference in New Issue
Block a user