@stack('theme:sidebar_top')

分类

    @forelse($categories as $category)
  • {{ $category->name }} ({{ $category->post_count }})
  • @empty
  • 暂无分类
  • @endforelse

最新文章

    @forelse($recentPosts as $post)
  • {{ $post->title }}
  • @empty
  • 暂无文章
  • @endforelse

最新评论

    @forelse($recentComments as $comment)
  • {{ $comment->author_name }}:{{ Str::limit(strip_tags($comment->content), 30) }}
  • @empty
  • 暂无评论
  • @endforelse

标签云

@forelse($hotTags as $tag) {{ $tag->name }} @empty 暂无标签 @endforelse

友情链接

    @forelse($links as $link)
  • {{ $link->name }}
  • @empty
  • 暂无链接
  • @endforelse

社交账号

    @foreach($socialLinks as $social) @if($social['url'])
  • {{ $social['platform'] }}
  • @else
  • {{ $social['platform'] }}:{{ $social['value'] }}
  • @endif @endforeach

站点统计

  • 文章:{{ $blogStats['posts'] }} 篇
  • 评论:{{ $blogStats['comments'] }} 条
  • 分类:{{ $blogStats['categories'] }} 个
  • 标签:{{ $blogStats['tags'] }} 个
@stack('theme:sidebar_bottom')