Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
18 lines
647 B
PHP
18 lines
647 B
PHP
@extends('theme::layout')
|
|
|
|
@section('content')
|
|
<div class="panel"><h1 class="page-title">最新评论</h1></div>
|
|
<div class="panel">
|
|
@forelse($comments as $comment)
|
|
<div class="comment">
|
|
<strong>{{ $comment->author }}</strong>
|
|
<span class="meta"> · <a href="{{ url('/show-'.$comment->article_id.'.shtml') }}">{{ $comment->article?->title }}</a></span>
|
|
<div>{!! $comment->content !!}</div>
|
|
</div>
|
|
@empty
|
|
<p class="meta">暂无评论</p>
|
|
@endforelse
|
|
</div>
|
|
<div class="pagination">{{ $comments->links() }}</div>
|
|
@endsection
|