Commit d565b427 by Siti Aisah

add meta tag

parent b9a1871c
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<title>{{$data->title}}</title>
<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'] }}">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rSa?$data->rSa->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rSa?$data->rSa->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rSa?$data->rSa->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rSa?$data->rSa->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rSa?$data->rSa->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rSa?$data->rSa->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rDe?$data->rDe->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rDe?$data->rDe->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rDe?$data->rDe->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rDe?$data->rDe->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rDe?$data->rDe->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rDe?$data->rDe->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rEn?$data->rEn->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn?$data->rEn->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rEn?$data->rEn->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rEn?$data->rEn->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn?$data->rEn->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rEn?$data->rEn->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
......@@ -13,10 +13,10 @@
<meta property="og:locale" content="{{Session::get('selected_language')}}" />
<meta property="og:image" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:secure_url" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" /> --}}
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" />
<link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" /> --}}
@endsection
@section('content')
......
......@@ -5,9 +5,9 @@
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rEn?$data->rEn->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rEn?$data->rEn->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
<link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
{{-- <link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" /> --}}
@endsection
@section('content')
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<meta name="{{ Str::slug($data->title) }}" content="custom"/>
<title>{{$data->title}}</title>
<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'] }}">
......
......@@ -6,14 +6,14 @@
<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'] }}">
<meta property="og:site_name" content="{{$setting['web_title']}}" />
{{-- <meta property="og:site_name" content="{{$setting['web_title']}}" />
<meta property="og:title" content="{{$data->title}}" />
<meta property="og:url" content="{{ url('page/'.$data->slug) }}" />
<meta property="og:description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}" />
<meta property="og:locale" content="{{Session::get('selected_language')}}" />
<meta property="og:image" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:secure_url" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" />
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" /> --}}
@endsection
@section('content')
......
......@@ -5,14 +5,14 @@
<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'] }}">
<meta property="og:site_name" content="{{$setting['web_title']}}" />
{{-- <meta property="og:site_name" content="{{$setting['web_title']}}" />
<meta property="og:title" content="{{$data->title}}" />
<meta property="og:url" content="{{ url('post/'.$data->slug) }}" />
<meta property="og:description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}" />
<meta property="og:locale" content="{{Session::get('selected_language')}}" />
<meta property="og:image" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:secure_url" content="{{ $setting['url_static'] . '/' . $setting['directory'] . '/thumbnail/' . $data->thumbnail }}" />
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" />
<meta property="og:image:type" content="image/{{pathinfo($data->thumbnail, PATHINFO_EXTENSION)}}" /> --}}
@endsection
@section('content')
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rZh?$data->rZh->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rZh?$data->rZh->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rZh?$data->rZh->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
@extends('webprofile.front.jollyany.master')
@extends('webprofile.front.jollyany.master2')
@section('meta')
<title>{{$data->rZh?$data->rZh->title:$data->title}}</title>
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rZh?$data->rZh->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rZh?$data->rZh->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
......@@ -5,9 +5,9 @@
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rZh?$data->rZh->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rZh?$data->rZh->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
<link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
{{-- <link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" /> --}}
{{-- <meta property="og:site_name" content="{{$setting['web_title']}}" />
<meta property="og:title" content="{{$data->rZh->title}}" />
<meta property="og:url" content="{{ url('page/'.$data->slug) }}" />
......
......@@ -5,9 +5,9 @@
<meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->rZh?$data->rZh->content:$data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}">
<meta name="keywords" content="{{ $data->rZh?$data->rZh->keys:$data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
<link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
{{-- <link rel="alternate" hreflang="{{Session::get('selected_language')}}" href="{{ url('post/'.$data->slug) }}" />
<link rel="alternate" hreflang="en-us" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" />
<link rel="canonical" href="{{ url('') }}" /> --}}
@endsection
@section('content')
<section class="post-wrapper-top jt-shadow clearfix">
......
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