Spaces:
Running
Running
Download app/Controllers/AboutController.php from buddhaword/web: direct link, hf CLI and curl.
- Browser
- Download file 1 kB
-
https://huggingface.co/spaces/buddhaword/web/resolve/main/app/Controllers/AboutController.php
- Command line
-
hf download hf://spaces/buddhaword/web/app/Controllers/AboutController.php
-
curl -L -o AboutController.php https://huggingface.co/spaces/buddhaword/web/resolve/main/app/Controllers/AboutController.php
1 kB
| namespace App\Controllers; | |
| class AboutController { | |
| public function index() { | |
| $jsonLd = [ | |
| '@context' => 'https://schema.org', | |
| '@type' => 'AboutPage', | |
| 'name' => 'ກ່ຽວກັບ - ຄຳສອນພຸດທະ', | |
| 'description' => 'ຂໍ້ມູນກ່ຽວກັບ ຄຳສອນພຸດທະ ແລະ ຊ່ອງທາງການຕິດຕໍ', | |
| 'url' => canonicalUrl(), | |
| 'inLanguage' => 'lo', | |
| ]; | |
| return view('pages.about', [ | |
| 'seo' => [ | |
| 'title' => 'ກ່ຽວກັບ - ຄຳສອນພຸດທະ', | |
| 'description' => 'ຂໍ້ມູນກ່ຽວກັບ ຄຳສອນພຸດທະ ແລະ ຊ່ອງທາງການຕິດຕໍ', | |
| 'keywords' => 'ກ່ຽວກັບ, ຕິດຕໍ່, ຄຳສອນພຸດທະ', | |
| 'json_ld' => $jsonLd, | |
| ] | |
| ]); | |
| } | |
| } | |