Feat: Swap the template page for the stub of a home page
Also add a new config file (`blog.php`) for specifying blog (read: not-application) configuration items, like the display name.
This commit is contained in:
parent
0657aba732
commit
4a36012276
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Publishing Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The name of the blog that will be displayed to the world.
|
||||
|
|
||||
*/
|
||||
|
||||
'publishing_name' => 'Jon\'s Words',
|
||||
|
||||
];
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ config('blog.publishing_name') }} | Home</title>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h2>Hey guys, check back soon for some word-based #content</h2>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -14,5 +14,5 @@ use Illuminate\Support\Facades\Route;
|
|||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
return view('home');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue