Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user