ico
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,email=no">
|
<meta name="format-detection" content="telephone=no,email=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku//images/favicon.png">
|
<link rel="apple-touch-icon" href="{$TpStyle.favicon}">
|
||||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku//images/favicon.png" type="image/x-icon">
|
<link rel="shortcut icon" href="{$TpStyle.favicon}" type="image/svg+xml">
|
||||||
|
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku/css/mytheme-font.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku/css/mytheme-font.css" type="text/css">
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku/css/mytheme-ui.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videoboku/css/mytheme-ui.css" type="text/css">
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,email=no">
|
<meta name="format-detection" content="telephone=no,email=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodadi/img/favicon.ico">
|
<link rel="apple-touch-icon" href="{$TpStyle.favicon}">
|
||||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
@@ -23,7 +23,8 @@
|
|||||||
<title>{block name="title"}{/block}</title>
|
<title>{block name="title"}{/block}</title>
|
||||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
<link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodadi/img/favicon.ico" type="image/x-icon">
|
<!-- <link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodadi/img/favicon.ico" type="image/x-icon"> -->
|
||||||
|
<link rel="shortcut icon" href="{$TpStyle.favicon}" type="image/svg+xml">
|
||||||
<!-- <link href="/public/layer/need/layer.css" rel="stylesheet"> -->
|
<!-- <link href="/public/layer/need/layer.css" rel="stylesheet"> -->
|
||||||
{// 提前加载 CSS }
|
{// 提前加载 CSS }
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodadi/font/iconfont-min.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodadi/font/iconfont-min.css" type="text/css">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,email=no">
|
<meta name="format-detection" content="telephone=no,email=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/images/favicon.ico">
|
<link rel="apple-touch-icon" href="{$TpStyle.favicon}">
|
||||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/images/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="{$TpStyle.favicon}" type="image/svg+xml">
|
||||||
|
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/css/plugins.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/css/plugins.css" type="text/css">
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/css/global.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videodingzhu/css/global.css" type="text/css">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,email=no">
|
<meta name="format-detection" content="telephone=no,email=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/images/favicon.png">
|
<link rel="apple-touch-icon" href="{$TpStyle.favicon}">
|
||||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/images/favicon.png" type="image/x-icon">
|
<link rel="shortcut icon" href="{$TpStyle.favicon}" type="image/svg+xml">
|
||||||
|
|
||||||
<link rel="preload" type="text/css" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/css/global.css">
|
<link rel="preload" type="text/css" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/css/global.css">
|
||||||
<link rel="preload" type="text/css" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/css/style.css">
|
<link rel="preload" type="text/css" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videolaoniu/css/style.css">
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<meta name="format-detection" content="telephone=no,email=no">
|
<meta name="format-detection" content="telephone=no,email=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/img/favicon.ico">
|
<link rel="apple-touch-icon" href="{$TpStyle.favicon}">
|
||||||
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
{// PWA 支持(Chrome/安卓)和 SEO 不是强关联 }
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/img/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="{$TpStyle.favicon}" type="image/svg+xml">
|
||||||
|
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/font/iconfont.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/font/iconfont.css" type="text/css">
|
||||||
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/css/stui_block.css" type="text/css">
|
<link rel="preload" href="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/template/videonunu/css/stui_block.css" type="text/css">
|
||||||
|
|||||||
@@ -103,8 +103,7 @@ class SiteContext
|
|||||||
|
|
||||||
$this->DomainModel = DomainModel::getDomainOnCacheByDomain($strDomain);
|
$this->DomainModel = DomainModel::getDomainOnCacheByDomain($strDomain);
|
||||||
|
|
||||||
$this->TpStyle = SiteStyle::getConfig();
|
|
||||||
$this->UrlBuilder = new UrlBuilder($this->TpStyle);
|
|
||||||
|
|
||||||
if (empty($this->DomainModel)) {
|
if (empty($this->DomainModel)) {
|
||||||
throw new HttpException(404, 'Site config not Found');
|
throw new HttpException(404, 'Site config not Found');
|
||||||
@@ -112,6 +111,9 @@ class SiteContext
|
|||||||
|
|
||||||
$this->TemplatesModel = TemplatesModel::getTemplateOnCacheByTId($this->DomainModel->t_id);
|
$this->TemplatesModel = TemplatesModel::getTemplateOnCacheByTId($this->DomainModel->t_id);
|
||||||
|
|
||||||
|
$this->TpStyle = SiteStyle::getConfig();
|
||||||
|
$this->UrlBuilder = new UrlBuilder($this->TpStyle);
|
||||||
|
|
||||||
if (empty($this->TemplatesModel)) {
|
if (empty($this->TemplatesModel)) {
|
||||||
throw new HttpException(500, 'Site template not Found');
|
throw new HttpException(500, 'Site template not Found');
|
||||||
}
|
}
|
||||||
@@ -184,15 +186,12 @@ class SiteContext
|
|||||||
View::assign("strYouQingLiangJieTemp", $strYouQingLiangJieTemp);
|
View::assign("strYouQingLiangJieTemp", $strYouQingLiangJieTemp);
|
||||||
}
|
}
|
||||||
|
|
||||||
// 视频站点需要信息
|
|
||||||
$strEmail = SystemConfigModel::getValByCode('YOU_XIANG');
|
|
||||||
|
|
||||||
// 1. 站点 DNA
|
// 1. 站点 DNA
|
||||||
$TpStyle = $this->TpStyle;
|
$TpStyle = $this->TpStyle;
|
||||||
|
|
||||||
define('SITE_SEED', $TpStyle['seed']); // 你已有的站点 seed
|
define('SITE_SEED', $TpStyle['seed']); // 你已有的站点 seed
|
||||||
|
|
||||||
|
|
||||||
// 3. 构建本域名 CSS(合并并替换 __PFX__)
|
// 3. 构建本域名 CSS(合并并替换 __PFX__)
|
||||||
$strCssUrl = CssBuilder::build(
|
$strCssUrl = CssBuilder::build(
|
||||||
$TpStyle['css_files'],
|
$TpStyle['css_files'],
|
||||||
@@ -210,9 +209,11 @@ class SiteContext
|
|||||||
View::assign('TpStyle', $TpStyle);
|
View::assign('TpStyle', $TpStyle);
|
||||||
View::assign('strTpCss', $strCssUrl);
|
View::assign('strTpCss', $strCssUrl);
|
||||||
View::assign('strTpJs', $strJsUrl);
|
View::assign('strTpJs', $strJsUrl);
|
||||||
View::assign('strEmail', $strEmail);
|
|
||||||
|
|
||||||
// View::assign('Url', new UrlBuilder($TpStyle));
|
// 视频站点需要信息
|
||||||
|
$strEmail = SystemConfigModel::getValByCode('YOU_XIANG');
|
||||||
|
|
||||||
|
View::assign('strEmail', $strEmail);
|
||||||
|
|
||||||
$vod_list = $this->DomainModel;
|
$vod_list = $this->DomainModel;
|
||||||
View::assign('vod_list', $vod_list);
|
View::assign('vod_list', $vod_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user