Browse Source

page title update

master
filesite 1 year ago
parent
commit
8f7479001d
  1. 3
      themes/tajian/controller/ListController.php
  2. 3
      themes/tajian/controller/SiteController.php
  3. 2
      www/tajian/README_title.txt

3
themes/tajian/controller/ListController.php

@ -58,10 +58,9 @@ Class ListController extends SiteController { @@ -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}";
}

3
themes/tajian/controller/SiteController.php

@ -61,9 +61,6 @@ Class SiteController extends Controller { @@ -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}";
}

2
www/tajian/README_title.txt

@ -1 +1 @@ @@ -1 +1 @@
FS视频分享站演示,基于FileSite.io的TaJian皮肤在线演示
Ta荐 - 分享喜欢的视频给朋友,帮他节省刷视频的时间
Loading…
Cancel
Save