@extends('layout', ['service'=>$service]) @section('css') @endsection @section('gnb', view('gnb', ['service'=>$service])) @section('subgnb', view($service.'.gnb')) @section('content')
@include('common.board.path')
{{ $article->title }}
작성자
{{ $article->created_by ? $article->writer->name:'' }}
작성일
{{ $article->created_at->format('Y-m-d') }}
조회
{{ $article->views }}
@if(view()->exists('common.board.'.$db.'.view-detail-inc')) @include('common.board.'.$db.'.view-detail-inc') @endif {!! $article->content !!}
@if ($config->attachable and !empty($article->attachments))
    @foreach($article->attachments as $file)
  • @if(in_array($file->extension, config('system.image_ext'))) @endif
  • @endforeach
@endif
@if ($article->comments->count() > 0)
전체 {{ $article->comments->count() }}
@endif @foreach($comments as $comment)
    @include('common.board.comment', ['comment' => $comment])
@endforeach @can('create-comments') @include('common.board.comment-form', ['article_id' => $article->id]) @endcan
@if ($article->prev) {{ $article->prev->title }} @endif
@if ($article->next) {{ $article->next->title }} @endif
@if ($db == 'pass_review')
합격생이 수강한 강좌
@endif
@endsection @section('footer', view('footer')) @section('script') @endsection