Commit 45ec2271 by Bagus Pambudi

edit meta

parent 872f0f1e
<?php
namespace App\Models\Webprofile\De;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Design extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_design_de';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\En;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Design extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_design_en';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\Sa;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Design extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_design_de';
protected $guarded = [];
}
<?php
namespace App\Models\Webprofile\Zh;
use App\Http\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;
class Design extends Model
{
use UuidTrait;
public $incrementing = false;
protected $table = 'swp_design_zh';
protected $guarded = [];
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDesignMlTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('swp_design_en', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('design_id', 36);
$table->string('title_design')->nullable();
$table->text('value_design')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
});
Schema::create('swp_design_de', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('design_id', 36);
$table->string('title_design')->nullable();
$table->text('value_design')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
});
Schema::create('swp_design_sa', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('design_id', 36);
$table->string('title_design')->nullable();
$table->text('value_design')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
});
Schema::create('swp_design_zh', function (Blueprint $table) {
$table->string('id', 36)->primary();
$table->string('design_id', 36);
$table->string('title_design')->nullable();
$table->text('value_design')->nullable();
$table->string('userid_created', 36)->nullable();
$table->string('userid_updated', 36)->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('swp_design_en');
Schema::dropIfExists('swp_design_de');
Schema::dropIfExists('swp_design_sa');
Schema::dropIfExists('swp_design_zh');
}
}
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master')
<title>{{$data->rSa->title}}</title>
@section('meta')
<title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rSa->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rSa->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content') @section('content')
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
......
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master')
<title>{{$data->rDe->title}}</title>
@section('meta')
<title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rDe->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rDe->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content') @section('content')
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
......
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master')
<title>{{$data->rEn->title}}</title>
@section('meta')
<title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rEn->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rEn->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content') @section('content')
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
......
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master')
<title>{{$data->title}}</title>
@section('meta') @section('meta')
<title>{{$setting['web_title']}}</title> <title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->title) }}" content="custom"/> <meta name="{{ Str::slug($data->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->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="description" content="{{ Str::slug($data->title) }}"> <meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->keys }}"> <meta name="keywords" content="{{ $data->keys }}">
<meta name="author" content="{{ $setting['header_admin'] }}"> <meta name="author" content="{{ $setting['header_admin'] }}">
......
@extends('webprofile.front.jollyany.master') @extends('webprofile.front.jollyany.master')
<title>{{$data->rZh->title}}</title>
@section('meta')
<title>{{$setting['web_title']}}</title>
<meta name="{{ Str::slug($data->rZh->title) }}" content="custom"/>
<!-- <meta name="description" content="{!! strip_tags(substr(html_entity_decode($data->content,ENT_COMPAT,"UTF-8"),0 , 200)) !!}"> -->
<meta name="description" content="{{$setting['web_title']}}">
<meta name="keywords" content="{{ $data->rZhkeys }}">
<meta name="author" content="{{ $setting['header_admin'] }}">
@endsection
@section('content') @section('content')
<section class="post-wrapper-top jt-shadow clearfix"> <section class="post-wrapper-top jt-shadow clearfix">
<div class="container"> <div class="container">
......
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