From 8f7479001d0997ec8d8b286e69fda2759f31a166 Mon Sep 17 00:00:00 2001 From: filesite Date: Wed, 27 Sep 2023 08:06:00 +0800 Subject: [PATCH] page title update --- themes/tajian/controller/ListController.php | 3 +-- themes/tajian/controller/SiteController.php | 3 --- www/tajian/README_title.txt | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/themes/tajian/controller/ListController.php b/themes/tajian/controller/ListController.php index 7f4b2cf..06ef86c 100644 --- a/themes/tajian/controller/ListController.php +++ b/themes/tajian/controller/ListController.php @@ -58,10 +58,9 @@ Class ListController extends SiteController { } } - $pageTitle = $defaultTitle = !empty($titles) ? $titles[0]['name'] : FSC::$app['config']['site_name']; if (!empty($tagItem)) { - $pageTitle = "{$tagItem['name']}相关视频,来自{$defaultTitle}"; + $pageTitle = "{$tagItem['name']}精选视频,来自{$defaultTitle}"; if (!empty($tagItem['title'])) { $pageTitle = "{$tagItem['title']},来自{$defaultTitle}"; } diff --git a/themes/tajian/controller/SiteController.php b/themes/tajian/controller/SiteController.php index 197b055..173fa3e 100644 --- a/themes/tajian/controller/SiteController.php +++ b/themes/tajian/controller/SiteController.php @@ -61,9 +61,6 @@ Class SiteController extends Controller { $pageTitle = $defaultTitle = !empty($titles) ? $titles[0]['name'] : FSC::$app['config']['site_name']; - if (!empty($subcate)) { - $pageTitle = "{$subcate['directory']},来自{$defaultTitle}"; - } if (!empty($readmeFile['title'])) { $pageTitle = "{$readmeFile['title']},来自{$defaultTitle}"; } diff --git a/www/tajian/README_title.txt b/www/tajian/README_title.txt index b39c164..e287891 100644 --- a/www/tajian/README_title.txt +++ b/www/tajian/README_title.txt @@ -1 +1 @@ -FS视频分享站演示,基于FileSite.io的TaJian皮肤在线演示 +Ta荐 - 分享喜欢的视频给朋友,帮他节省刷视频的时间 \ No newline at end of file