新增模板,修复模板选择bug
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
$host = $_SERVER['HTTP_HOST'] ?? '';
|
||||
$scheme = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? 'https' : 'http';
|
||||
$baseUrl = $scheme . '://' . $host;
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta content="width=device-width, initial-scale=1.0" name="viewport">
|
||||
<base href="/themes/template3/">
|
||||
<title><?php echo isset($pageTitle) ? $pageTitle : 'Nova'; ?></title>
|
||||
<meta name="description" content="<?php echo isset($pageDescription) ? $pageDescription : ''; ?>">
|
||||
<meta name="keywords" content="<?php echo isset($pageKeywords) ? $pageKeywords : ''; ?>">
|
||||
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/img/favicon.png" rel="icon">
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/img/apple-touch-icon.png" rel="apple-touch-icon">
|
||||
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/vendor/aos/aos.css" rel="stylesheet">
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
|
||||
|
||||
<link href="<?php echo $baseUrl; ?>/themes/template3/assets/css/main.css" rel="stylesheet">
|
||||
</head>
|
||||
|
||||
<body class="blog-page">
|
||||
|
||||
<header id="header" class="header d-flex align-items-center fixed-top">
|
||||
<div class="container-fluid container-xl position-relative d-flex align-items-center justify-content-between">
|
||||
|
||||
<a href="<?php echo $baseUrl; ?>/" class="logo d-flex align-items-center">
|
||||
<h1 class="sitename">Nova</h1>
|
||||
</a>
|
||||
|
||||
<nav id="navmenu" class="navmenu">
|
||||
<ul>
|
||||
<li><a href="<?php echo $baseUrl; ?>/" class="active">主页</a></li>
|
||||
<li><a href="<?php echo $baseUrl; ?>/blog.php">新闻中心</a></li>
|
||||
<li><a href="<?php echo $baseUrl; ?>/portfolio.php">特色业务</a></li>
|
||||
<li><a href="<?php echo $baseUrl; ?>/contact.php">联系我们</a></li>
|
||||
<li><a href="<?php echo $baseUrl; ?>/about.php">关于我们</a></li>
|
||||
</ul>
|
||||
<i class="mobile-nav-toggle d-xl-none bi bi-list"></i>
|
||||
</nav>
|
||||
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="main">
|
||||
Reference in New Issue
Block a user