Use this in your blade layout:
<title>{{ trans('pages.'.Route::currentRouteName().'.title').trans('pages.title-suffix') }}</title>
<meta name="description" content="{{ trans('pages.'.Route::currentRouteName().'.description') }}" />
<meta name="keywords" content="{{ trans('pages.obligatory-keywords').trans('pages.'.Route::currentRouteName().'.keywords') }}" />
An example for lang//pages.php:
<?php
return array(
'title-suffix' => ' | The Website',
'obligatory-keywords' => 'these,are,obligatory,keywords,',
'home' => array(
'title' => 'Home',
'keywords' => 'home',
'description' => 'This is an example website.',
),
);
Sure, why not!
<title>{{ $somethingDynamic.trans('pages.title-suffix') }}</title>
or, when using multiple template files: