代码拉取完成,页面将自动刷新
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php //$this->need('m-Comments.php'); ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="<?php $this->options->charset(); ?>">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php $this->archiveTitle([
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
], '', ' - '); ?><?php $this->options->title(); ?></title>
<!-- 使用url函数转换相关路径 -->
<link rel="stylesheet" href="<?php $this->options->themeUrl('normalize.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('grid.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('style.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('m-style.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('owo/owo.min.css'); ?>" />
<link rel="stylesheet" href="<?php $this->options->themeUrl('font-awesome/5.11.2/css/all.css'); ?>">
<script type="text/javascript" src="<?php $this->options->themeUrl('functions.js'); ?>"></script>
<!-- 通过自有函数输出HTML头部信息 -->
<?php $this->header(); ?>
</head>
<body>
<header id="header" class="clearfix">
<div class="container">
<div class="row">
<div class="site-name col-mb-12 col-9">
<?php if ($this->options->logoUrl): ?>
<a id="logo" href="<?php $this->options->siteUrl(); ?>">
<img src="<?php $this->options->logoUrl() ?>" alt="<?php $this->options->title() ?>"/>
</a>
<?php else: ?>
<a id="logo" href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title() ?></a>
<p class="description"><?php $this->options->description() ?></p>
<?php endif; ?>
</div>
<div class="site-search col-3 kit-hidden-tb">
<form id="search" method="post" action="<?php $this->options->siteUrl(); ?>" role="search">
<label for="s" class="sr-only"><?php _e('搜索关键字'); ?></label>
<input type="text" id="s" name="s" class="text" placeholder="<?php _e('输入关键字搜索'); ?>"/>
<button type="submit" class="submit"><?php _e('<i class="fas fa-search"></i>'); ?></button>
</form>
</div>
<div class="col-mb-12">
<nav id="nav-menu" class="clearfix" role="navigation">
<a<?php if ($this->is('index')): ?> class="current"<?php endif; ?>
href="<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a>
<?php \Widget\Contents\Page\Rows::alloc()->to($pages); ?>
<?php while ($pages->next()): ?>
<a<?php if ($this->is('page', $pages->slug)): ?> class="current"<?php endif; ?>
href="<?php $pages->permalink(); ?>"
title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a>
<?php endwhile; ?>
<div class="social-head ">
<p onclick="colorTheme();"><i class="fas fa-adjust"></i></p>
</div>
<?php if (!empty($this->options->modelBlock) && in_array('ShowSocial', $this->options->modelBlock) && !empty($this->options->socialInfo)):?>
<div class="kit-hidden-tb social-head">
<?php /* 每行socialInfo为一组社交平台信息 */
$socials = explode("\r\n", $this->options->socialInfo);
foreach ($socials as $social):
/* 按部分拆开 */
$socialInfo = explode(',', $social);?>
<a title="<?php echo $socialInfo[0]?>" target="_blank" href="<?php echo $socialInfo[1]?>"><i class="<?php echo $socialInfo[2]?>"></i><span> <?php echo $socialInfo[3]?></span></a>
<?php endforeach ?>
</div>
<?php endif ?>
</nav>
</div>
</div><!-- end .row -->
</div>
</header><!-- end #header -->
<div id="body">
<?php if($this->is('post')): ?>
<div id="picBox" style="display: none"><img id="zoomPic" /></div>
<?php endif ?>
<div class="container">
<div class="row">
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。