Use the custom SEO title and descriptions in the frontend
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
@extends('layout.master')
|
@extends('layout.master')
|
||||||
|
|
||||||
@section('title', $incident->name.' | '.$site_title)
|
@section('title', array_get($incident->meta, 'seo.title', $incident->name).' | '.$site_title)
|
||||||
|
|
||||||
@section('description', trans('cachet.meta.description.incident', ['name' => $incident->name, 'date' => $incident->occurred_at_formatted]))
|
@section('description', array_get($incident->meta, 'seo.description', trans('cachet.meta.description.incident', ['name' => $incident->name, 'date' => $incident->occurred_at_formatted])))
|
||||||
|
|
||||||
@section('bodyClass', 'no-padding')
|
@section('bodyClass', 'no-padding')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user