@translate('catalog.blog.sidebar.latest.title')

    @foreach ($latestArticles as $latestArticle)
  • {{ $latestArticle->title }}
  • @endforeach
{{--分類--}}

@translate('catalog.blog.sidebar.category.title')

    @foreach ($blogCategories as $category)
  • {{ $category->title }}
  • @endforeach
{{--時間--}}

@translate('catalog.blog.sidebar.date.title')

    @foreach($sortedArticles as $year => $articlesOfYear)
  • {{ $year }}
    • @foreach($articlesOfYear as $month => $articlesOfMonth)
    • {{ \Catalog\Helper\MonthNameHelper::getMonthName($month) . ' (' . count($articlesOfMonth) .')' }}
      • @foreach($articlesOfMonth as $article)
      • - {{ $article->title }}
      • @endforeach
      @endforeach
    @endforeach