All articles page

In this page you will find all the published articles in paginated display. To access the page you can click the button "ALL ARTICLES" from the category nav bar or you can access it directly by typing '/all_articles' in the URL.

For more information about this feature see App\Http\Blog\ArticleController.php.


        public function index(Article $model)
        {
            $articles = $model->with(['tags', 'category'])->paginate(10);
            return view('blog.all_articles', ['articles' => $articles]);
        }
        

In the Resources\Views\Blog\All_articles.blade.php you can find all the articles.


        <div class="container">
          <div class="section">
            <div class="container">
              <div class="row">
                <div class="col-md-10 ml-auto mr-auto">
                  <h2 class="title">{{ __('All Articles') }}</h2>
                  @include('blog._partials.article_full')
                  @include('blog._partials.pagination')
                </div>
              </div>
            </div>
          </div>
        </div>