修改详情页是否显示时间

This commit is contained in:
2020-09-22 15:56:25 +08:00
parent c120c05e9b
commit ec3323f2d2
3 changed files with 24 additions and 15 deletions

View File

@@ -8,8 +8,10 @@
<div class="container details">
<!-- 文章标题 -->
<h3 class="details-title">{{ $article->title }}</h3>
<p class="details-time">{{ $article->created_at }}</p>
<!-- 文章详情 -->
@if (in_array($parent->id,config('app.show_time')))
<p class="details-time">{{ $article->created_at }}</p>
@endif
<!-- 文章详情 -->
<div class="details-content">
{{-- <img src="{{ $article->cover_path }}">--}}