Added the ability to dynamically translate on the project website.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@section('meta_title', __('site.Project') . ': ' . $content->title)
|
||||
@section('meta_title', $websiteTranslations->translate('site.Project') . ': ' . $content->title)
|
||||
@section('h1', $content->title)
|
||||
|
||||
<x-site.layout :project="$project" :language="$language">
|
||||
<x-site.layout :project="$project" :websiteTranslations="$websiteTranslations">
|
||||
{!! $content->description !!}
|
||||
</x-site.layout>
|
||||
|
Reference in New Issue
Block a user