How do I make Sage 10 detect my templates?

Hello all!

I’m migrating the company website from Sage 9 to Sage 10 and 99% of it has gone incredibly well.

Using Bedrock and Trellis.

However, I can’t for the life of me figure out how to get Sage 10 to use the blade.php files rather than the “default” WordPress sites. If I go on articles, I’m sent to the default articles site. If I go on recipes, I’m sent to the default recipes site.

I’m trying to upgrade my website from Sage 9 to Sage 10, and this is the biggest stopper so far.

Is there more than one way? If so, what’s the recommended way? I have both one big /articles page and several /articles/article pages, if that makes a difference.

Actually I figured it out. It was a combination of 3 things:

  1. Some blade.php files were in the wrong folder. Oops.
  2. In two cases, some routes needed to be added:
<?php

namespace App;

use Illuminate\Support\Facades\Route;

class Routes
{
    public function __construct()
    {
        $this->registerRoutes();
    }

    public function registerRoutes()
    {
        Route::view('/articles', 'partials.content.content-articles');
    }
}
  1. Some pages weren’t set to the “right” template.

All sites direct to the right place now. Woo!

Thanks for the help anyway!