You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

93 lines
5.0 KiB

<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE HTML>
<html class="no-js">
<head>
<meta charset="<?php $this->options->charset(); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="white">
<meta name="apple-mobile-web-app-title" content="<?php $this->options->title() ?>">
<!-- 通过自有函数输出HTML头部信息 -->
<?php $this->header("commentReply="); ?>
<title><?php $this->archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ' - '); ?><?php $this->options->title(); ?> - <?php $this->options->description(); ?></title>
<!-- 使用url函数转换相关路径 -->
<link rel="icon" type="image/ico" href="/favicon.ico">
<?php if(Utils::isEnabled('enableFancybox','AriaConfig')): ?>
<link href="<?php $this->options->themeUrl('assets/css/jquery.fancybox.min.css'); ?>" rel="stylesheet">
<?php endif; ?>
<link href="<?php $this->options->themeUrl('assets/OwO/OwO.min.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('assets/css/animate.min.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('assets/css/iconfont.css'); ?>" rel="stylesheet" >
<link href="<?php $this->options->themeUrl('assets/css/style.min.css?v=213a50a4db'); ?>" rel="stylesheet">
<script src="<?php $this->options->themeUrl('assets/js/jquery.min.js'); ?>"></script>
<?php if($this->options->customHeader) $this->options->customHeader(); ?>
<!--[if lt IE 9]>
<script src="http://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="http://cdn.staticfile.org/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
</head>
<body>
<?php Utils::AriaConfig(); ?>
<div id="wrapper" onclick="toggleNav();"></div>
<div id="nav-vertical">
<a class="close" href="javascript:void(0);" onclick="toggleNav();"><i class="iconfont icon-aria-close"></i></a>
<div id="nav-avatar"><img no-lazyload src="<?php Utils::getAdminAvatar(150); ?>"></div>
<ul class="nav-vertical-list">
<?php $slugs = Utils::getPagesInfo();Utils::showNav(0,$slugs); ?>
</ul>
</div>
<!--[if lt IE 8]>
<div class="browsehappy" role="dialog"><?php _e('当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>'); ?>.</div>
<![endif]-->
<div id="nav-menu" role="navigation">
<div id="nav-left">
<a href="<?php $this->options->siteUrl(); ?>"><img id="site-avatar" no-lazyload src="<?php Utils::getAdminAvatar(50); ?>">
<?php $this->options->title(); ?></a>
</div>
<div id="nav-right">
<ul class="nav-right-list">
<?php Utils::showNav(1,$slugs); ?>
</ul>
<div id="nav-btns">
<i class="iconfont icon-aria-menu" id="nav-menu-btn" onclick="toggleNav();"></i>
<i class="iconfont icon-aria-search" id="nav-search-btn"></i>
</div>
</div>
</div>
<div id="search-box" class="animated" style="background: #fff">
<span class="close"><i class="iconfont icon-aria-close"></i></span>
<form id="search" method="post" action="./" role="search">
<input type="text" name="s" id="search-text" placeholder="想要看什么?" />
<button type="submit" id="search-button" style="background: url(<?php $this->options->themeUrl('assets/img/search.png') ?>) center center no-repeat;background-size: cover;"></button>
</form>
</div>
<div id="pjax-container">
<style><?php if($this->is('post') || $this->is('page') || $this->is('single') || $this->is('archive')):; ?>#header {height: 70vh;}@media (max-width:768px) {#header {height: 40vh;}}#site-meta {display: none;}<?php endif; ?>#background {width: 100%;height: 100%;background: url(<?php
if($this->is('post') || $this->is('page') || $this->is('single'))
if($this->fields->thumbnail)
$this->fields->thumbnail();
else
echo Utils::getThumbnail();
else
Utils::getBackground();
?>) center center no-repeat;background-size: cover;z-index: -1;position: relative;}</style>
<header id="header" class="clearfix animated fadeInDown">
<div id="site-meta">
<h1 id="site-name"><?php $this->options->title(); ?></h1>
<h2 id="site-description"><?php $this->options->description(); ?></h2>
</div>
<div id="background"></div>
</header><!-- end #header -->
<div id="body" class="animated fadeIn">
<div class="container">
<div class="row">