LaravelのBladeテンプレートを使って、コンテンツ以外のレイアウトを共通で管理できるようにしてみます。 完成想定 完成時のHTMLを作成してみます。 routes.php Route::get('/page/', function() { return view('page.index'); }); page\index.blade.php <DOCTYPE HTML> <html lang="ja"> <head> <meta charset="UTF-8"> <title>ページタイトル | cly7796.net</title> <meta name="description" itemprop="description" content="説明文"> <meta name="keywords" itemprop="keywords" content="A,B,C"> <li
