Skip to content
This repository was archived by the owner on Mar 13, 2023. It is now read-only.

Commit 6a9a4a1

Browse files
committed
Add SEO tag to view
1 parent 23e3de8 commit 6a9a4a1

File tree

5 files changed

+52
-13
lines changed

5 files changed

+52
-13
lines changed

public/img/laravel-cm-cover.png

413 KB
Loading

resources/views/frontend/blog/post.blade.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
@extends('layouts.app')
22
@section('title', 'Article de test')
33

4+
@section('meta')
5+
<meta name="description" content="{{ str_limit('lorem', 150) }}">
6+
<!-- Facebook Meta -->
7+
<meta property="og:url" content="url">
8+
<meta property="og:title" content="{{ 'Title' }} - Laravel Cameroon">
9+
<meta property="og:image" content="{{ asset("storage/img.png") }}">
10+
<meta property="og:description" content="{{ str_limit('lorem', 150) }}">
11+
<!-- Twitter Meta -->
12+
<meta name="twitter:url" content="{{ 'route' }}">
13+
<meta name="twitter:title" content="{{ 'Title' }} - Laravel Cameroon">
14+
<meta name="twitter:description" content="{{ str_limit('Lorem ipsum', 150) }}">
15+
<meta name="twitter:image" content="{{ asset("storage/img.png") }}">
16+
@endsection
17+
418
@section('content')
519

620
<div class="container">

resources/views/frontend/home.blade.php

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22
@section('title', __('The best Laravel PHP developers in Cameroon'))
33

44
@section('meta')
5-
<meta name="description" content="John's Corporation is a branding company that supports businesses,
6-
developers, artisans and individuals in the management of their brand image.
7-
We create brands, their identities and their physical and digital expressions.">
5+
<meta name="description" content="Laravel Cameroon is the biggest Laravel community and meetup event in Cameroon
6+
that brings together the best Laravel and PHP developers in Cameroon.">
87
<!-- Facebook Meta -->
98
<meta property="og:url" content="{{ route('home') }}">
10-
<meta property="og:title" content="John's Corporation Official">
11-
<meta property="og:image" content="{{ asset('img/website.jpg') }}">
12-
<meta property="og:description" content="John's Corporation is a branding company that supports businesses,
13-
developers, artisans and individuals in the management of their brand image. We create brands, their
14-
identities and their physical and digital expressions.">
9+
<meta property="og:title" content="The best Laravel PHP developers in Cameroon - Laravel Cameroon">
10+
<meta property="og:image" content="{{ asset('img/laravel-cm-cover.png') }}">
11+
<meta property="og:description" content="Laravel Cameroon is the biggest Laravel community and meetup event in Cameroon
12+
that brings together the best Laravel and PHP developers in Cameroon.">
1513
<!-- Twitter Meta -->
1614
<meta name="twitter:url" content="{{ route('home') }}">
17-
<meta name="twitter:title" content="John's Corporation Official">
18-
<meta name="twitter:description" content="John's Corporation is a branding company that supports businesses,
19-
developers, artisans and individuals in the management of their brand image. We create brands,
20-
their identities and their physical and digital expressions.">
21-
<meta name="twitter:image" content="{{ asset('img/website.jpg') }}">
15+
<meta name="twitter:title" content="The best Laravel PHP developers in Cameroon - Laravel Cameroon">
16+
<meta name="twitter:description" content="Laravel Cameroon is the biggest Laravel community and meetup event in Cameroon
17+
that brings together the best Laravel and PHP developers in Cameroon.">
18+
<meta name="twitter:image" content="{{ asset('img/laravel-cm-cover.png') }}">
2219
@endsection
2320

2421
@section('content')

resources/views/frontend/packages/post.blade.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
@extends('layouts.app')
22
@section('title', 'Article de test')
33

4+
@section('meta')
5+
<meta name="description" content="{{ str_limit('lorem', 150) }}">
6+
<!-- Facebook Meta -->
7+
<meta property="og:url" content="url">
8+
<meta property="og:title" content="{{ 'Title' }} - Laravel Cameroon">
9+
<meta property="og:image" content="{{ asset("storage/img.png") }}">
10+
<meta property="og:description" content="{{ str_limit('lorem', 150) }}">
11+
<!-- Twitter Meta -->
12+
<meta name="twitter:url" content="{{ 'route' }}">
13+
<meta name="twitter:title" content="{{ 'Title' }} - Laravel Cameroon">
14+
<meta name="twitter:description" content="{{ str_limit('Lorem ipsum', 150) }}">
15+
<meta name="twitter:image" content="{{ asset("storage/img.png") }}">
16+
@endsection
17+
418
@section('content')
519

620
<div class="container">

resources/views/frontend/tutorials/post.blade.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
@extends('layouts.app')
22
@section('title', 'Article de test')
33

4+
@section('meta')
5+
<meta name="description" content="{{ str_limit('lorem', 150) }}">
6+
<!-- Facebook Meta -->
7+
<meta property="og:url" content="url">
8+
<meta property="og:title" content="{{ 'Title' }} - Laravel Cameroon">
9+
<meta property="og:image" content="{{ asset("storage/img.png") }}">
10+
<meta property="og:description" content="{{ str_limit('lorem', 150) }}">
11+
<!-- Twitter Meta -->
12+
<meta name="twitter:url" content="{{ 'route' }}">
13+
<meta name="twitter:title" content="{{ 'Title' }} - Laravel Cameroon">
14+
<meta name="twitter:description" content="{{ str_limit('Lorem ipsum', 150) }}">
15+
<meta name="twitter:image" content="{{ asset("storage/img.png") }}">
16+
@endsection
17+
418
@section('content')
519

620
<div class="container">

0 commit comments

Comments
 (0)