File size: 885 Bytes
7731906
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
namespace App\Controllers;

class FavoriteController {
    public function index() {
        $jsonLd = [
            '@context' => 'https://schema.org',
            '@type' => 'WebPage',
            'name' => 'ຖືກໃຈ - ຄຳສອນພຸດທະ',
            'description' => 'ລາຍການທີ່ທ່ານຖືກໃຈ',
            'url' => canonicalUrl(),
            'inLanguage' => 'lo',
            'isPartOf' => [
                '@type' => 'WebSite',
                'name' => 'ຄຳສອນພຸດທະ',
            ],
        ];

        return view('pages.favorites', [
            'seo' => [
                'title' => 'ຖືກໃຈ - ຄຳສອນພຸດທະ',
                'description' => 'ລາຍການທີ່ທ່ານຖືກໃຈ',
                'json_ld' => $jsonLd,
            ]
        ]);
    }
}