Commit f56ca2fc by Aan Choesni Herlingga

bug fix meta tag description

parent 7f60268d
......@@ -2,7 +2,7 @@
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<meta name="description" content="{{ {!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!} }}">
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
......
......@@ -2,7 +2,7 @@
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<meta name="description" content="{{ {!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!} }}">
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
......
......@@ -2,7 +2,7 @@
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<meta name="description" content="{{ {!! strip_tags(substr(html_entity_decode($value->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!} }}">
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment