@extends('layouts.app') @section('title', $board->name) @section('content')

{{ $board->name }}

@if($board->description)

{{ $board->description }}

@endif
글쓰기 게시판 목록
전체 게시글
{{ number_format($stats['total']) }}
공지사항
{{ number_format($stats['notices']) }}
오늘 작성
{{ number_format($stats['today']) }}
게시 중
{{ number_format($stats['published']) }}
@if(!empty($filters['search'])) 초기화 @endif
@forelse($posts as $post) @empty @endforelse
번호 제목 작성자 작성일 조회
@if($post->is_notice) 공지 @else {{ $post->id }} @endif @if($post->is_secret) @endif {{ $post->title }} {{ $post->author?->name ?? '알 수 없음' }} {{ $post->created_at->format('Y-m-d') }} {{ number_format($post->views) }}

게시글이 없습니다.

첫 게시글 작성하기
@if($posts->hasPages())
{{ $posts->withQueryString()->links() }}
@endif
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @endsection