@extends('layouts.app') @section('title', $category->title) @section('content')
{{ getOneCategory(20,'title') }} 更多
@if(getArticlesBYCate(20,8)->isNotEmpty()) @foreach (getArticlesBYCate(20,8) as $article) @if ($loop->first) {{ $article->title }} @endif @endforeach @endif
{{ getOneCategory(21,'title') }} 更多
@if(getArticlesBYCate(21,8)->isNotEmpty()) @foreach (getArticlesBYCate(21,8) as $article) @if ($loop->first) {{ $article->title }} @endif @endforeach @endif
@endsection