Skip to content

Commit 081cf8e

Browse files
committed
Meta tags refactoring
1 parent d473719 commit 081cf8e

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

stubs/modules/Blog/views/post-index.blade.php

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
@extends('site-layout')
22

3-
@section('meta-title')
4-
Blog
5-
@stop
3+
@section('meta-title', 'Blog')
64

7-
@section('meta-description')
8-
Here you will find the latest news and updates about us.
9-
@stop
5+
@section('meta-description', 'Here you will find the latest news and updates about us.')
106

117
@section('bodyEndScripts')
128
@vite('resources-site/js/blog-app.js')

stubs/modules/Blog/views/post-show.blade.php

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
@extends('site-layout')
22

3-
@section('meta-title')
4-
{{ $post->meta_tag_title }}
5-
@stop
3+
@section('meta-title', $post->meta_tag_title)
64

7-
@section('meta-description')
8-
{{ $post->meta_tag_description }}
9-
@stop
5+
@section('meta-description', $post->meta_tag_description)
106

117
@section('bodyEndScripts')
128
@vite('resources-site/js/blog-app.js')

0 commit comments

Comments
 (0)