Skip to content

Commit 11152ff

Browse files
committed
Improve page titles
1 parent 3b009f1 commit 11152ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/views/article.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-layout title="Blog">
1+
<x-layout title="{{ $article->title }} - Blog">
22
{{-- Hero --}}
33
<section
44
class="mx-auto mt-10 w-full max-w-5xl"

resources/views/components/layout.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
@endphp
5757

5858
@if ($seoTitle === $defaultSeoTitle || empty($seoTitle))
59-
<title>NativePHP{{ isset($title) ? ' | ' . $title : '' }}</title>
59+
<title>{{ isset($title) ? $title . ' - ' : '' }}NativePHP</title>
6060
@endif
6161

6262
{{-- Favicon --}}

resources/views/partners.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<x-layout>
1+
<x-layout title="Join our Partner Program">
22
<div class="mx-auto max-w-5xl">
33
{{-- Hero Section --}}
44
<section class="mt-12">

0 commit comments

Comments
 (0)