gpt
This commit is contained in:
@@ -4,12 +4,10 @@
|
||||
<head>
|
||||
{block name="get-data"}{/block}
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>{block name="title"}{/block}</title>
|
||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||
<meta name="description" content='{block name="description"}{/block}'>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
||||
|
||||
{// 动态主题颜色 }
|
||||
<style>
|
||||
:root{
|
||||
@@ -23,8 +21,7 @@
|
||||
--border-color: {$TpStyle.color_border};
|
||||
--grad-start: {$TpStyle.color_grad_start};
|
||||
--grad-end: {$TpStyle.color_grad_end};
|
||||
|
||||
--page-max-width: {$TpStyle.page_max_width_pc}px;
|
||||
--page-max-width: {$TpStyle.template_cfg.global.page_max_width_pc}px;
|
||||
}
|
||||
body{
|
||||
background: var(--bg-color);
|
||||
@@ -33,7 +30,7 @@
|
||||
</style>
|
||||
|
||||
{// 每个域名专属 CSS(合并 + 前缀替换后) }
|
||||
<link rel="stylesheet" href="{$TpCss}">
|
||||
<link rel="stylesheet" href="{$strTpCss}">
|
||||
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
@@ -54,19 +51,23 @@
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
<body data-class="{$TpStyle.dom_prefix}">
|
||||
|
||||
|
||||
{// header}
|
||||
{include file="$TpTpl.head" /}
|
||||
{include file="$TpStyle.templates.head" /}
|
||||
|
||||
<main class="{$TpStyle.dom_prefix}-main">
|
||||
{block name="main"}{/block}
|
||||
</main>
|
||||
|
||||
{// footer }
|
||||
{include file="$TpTpl.foot" /}
|
||||
{include file="$TpStyle.templates.foot" /}
|
||||
|
||||
{// DOM 干扰节点,站群差异用 }
|
||||
<div style="display:none">tpl-{$TpStyle.static_hash}</div>
|
||||
@@ -79,7 +80,7 @@
|
||||
|
||||
{block name="footer-js"}{/block}
|
||||
<script type="text/javascript"
|
||||
src="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}/static/js/lazy.js?v={site:cfg code='STATIC_FILE_VERSION' encode='false'/}"></script>
|
||||
src="{site:cfg code='PUBLIC_STATIC_DOMAIN' encode='false'/}{$strTpJs}?v={site:cfg code='STATIC_FILE_VERSION' encode='false'/}"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user