diff --git a/public/themes/website/1/zh/demo/news-detail.html b/public/themes/website/1/zh/demo/news-detail.html index 78c9f15..31b85b5 100644 --- a/public/themes/website/1/zh/demo/news-detail.html +++ b/public/themes/website/1/zh/demo/news-detail.html @@ -1,698 +1,1059 @@ - + + {php} // TDK设置 ================================= START + $tdk_title = $hc_content['seo_title'] ?? ''; + if(empty($tdk_title)){ + $tdk_title = $hc_content['title'] ?? '搜索结果'; + } + $tdk_description = $hc_content['seo_description'] ?? ''; + if(empty($tdk_description)){ + $tdk_description = $hc_content['sub_title'] ?? ''; + } + $tdk_keywords = $hc_content['seo_keywords'] ?? ''; + if(empty($tdk_keywords)){ + $tdk_keywords = $hc_content['sub_title'] ?? ''; + } -
- - -