2021-07-25 09:12:40 +08:00
|
|
|
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="<?php $this->options->charset(); ?>">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="renderer" content="webkit">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<title><?php $this->archiveTitle(array(
|
|
|
|
'category' => _t('分类 %s 下的文章'),
|
|
|
|
'search' => _t('包含关键字 %s 的文章'),
|
|
|
|
'tag' => _t('标签 %s 下的文章'),
|
|
|
|
'author' => _t('%s 发布的文章')
|
|
|
|
), '', ' - '); ?><?php $this->options->title(); ?></title>
|
|
|
|
|
|
|
|
<!-- Google Fonts -->
|
|
|
|
<link href="https://fonts.googleapis.com/css?family=Poppins:200,300,400,600,700,800" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- FontAwesome Icons -->
|
2021-08-03 21:07:54 +08:00
|
|
|
<link href="https://cdn.staticfile.org/font-awesome/5.15.3/css/all.css" rel="stylesheet">
|
2021-07-25 09:12:40 +08:00
|
|
|
|
|
|
|
<!-- Argon Theme CSS -->
|
|
|
|
<link type="text/css" href="<?php $this->options->themeUrl('/assets/css/argon-design-system.min.css')?>" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Sky CSS-->
|
|
|
|
<link type="text/css" href="<?php $this->options->themeUrl('/assets/style.css')?>" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- JS: jQuery & popper & bootstrap -->
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/core/jquery.min.js');?>"></script>
|
|
|
|
<!--<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>-->
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/core/popper.min.js');?>"></script>
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/core/bootstrap.min.js');?>"></script>
|
|
|
|
|
2021-08-04 20:25:56 +08:00
|
|
|
<!-- lately JS -->
|
|
|
|
<script src="https://tokinx.github.io/lately/lately.min.js"></script>
|
|
|
|
|
2021-07-25 09:12:40 +08:00
|
|
|
<!-- Argon Theme JS -->
|
|
|
|
<script src="<?php $this->options->themeUrl('/assets/js/argon-design-system.min.js');?>"></script>
|
|
|
|
|
|
|
|
<!-- Highlight.js via jsDelivr -->
|
|
|
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.1.0/build/styles/default.min.css">
|
|
|
|
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.1.0/build/highlight.min.js"></script>
|
|
|
|
<script>hljs.highlightAll();</script>
|
|
|
|
|
|
|
|
<?php $this->header(); ?>
|
|
|
|
</head>
|
|
|
|
<!--[if lt IE 8]>
|
|
|
|
<?php _e('当前网页不支持你正在使用的浏览器。为了正常访问, 请升级你的浏览器!'); ?>
|
|
|
|
<![endif]-->
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<header id="header" class="clearfix mt-5 mb-4">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="site-name col">
|
|
|
|
<?php if ($this->options->logoUrl): ?>
|
|
|
|
<div class="text-center">
|
|
|
|
<img src="<?php $this->options->logoUrl() ?>" class="site-avatar shadow rounded-circle mx-auto d-block" alt="<?php $this->options->title() ?>" width=128 height=128>
|
|
|
|
<h2 class="mt-3 font-weight-bold text-default"><?php $this->options->title() ?></h2>
|
|
|
|
<p class="description"><?php $this->options->description() ?></p>
|
|
|
|
</div>
|
|
|
|
<?php else: ?>
|
|
|
|
<a id="logo" href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title() ?></a>
|
|
|
|
<p class="description text-gray"><?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('搜索'); ?></button>-->
|
|
|
|
<!-- </form>-->
|
|
|
|
<!--</div>-->
|
|
|
|
</div><!-- end .row -->
|
|
|
|
</div>
|
|
|
|
</header><!-- end #header -->
|
|
|
|
|
2021-08-09 22:57:24 +08:00
|
|
|
<nav class="container navbar navbar-light navbar-expand-sm sticky-top">
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
|
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="collapsibleNavbar">
|
2021-08-04 20:47:28 +08:00
|
|
|
<ul class="col navbar-nav justify-content-center pr-0">
|
2021-07-25 09:12:40 +08:00
|
|
|
<li class="nav-item">
|
2021-08-01 22:02:11 +08:00
|
|
|
<a class="nav-link nav-link-icon <?php if ($this->is('index')){echo 'text-default';}else{echo 'text-gray';}?>" href="<?php $this->options->siteUrl();?>">
|
2021-08-04 20:47:28 +08:00
|
|
|
<i class="fa fa-home"></i> <?php _e('首页') ?>
|
2021-07-25 09:12:40 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php if (strpos($this->options->frontPage, 'file') !== FALSE) {?>
|
|
|
|
<li class="nav-item">
|
2021-08-02 20:51:33 +08:00
|
|
|
<a class="nav-link nav-link-icon <?php if ($this->is('archive')){echo 'text-default';}else{echo 'text-gray';}?>" href="<?php echo $this->options->siteUrl.$this->options->routingTable['archive']['url'] ?>">
|
2021-08-04 20:47:28 +08:00
|
|
|
<i class="fa fa-book"></i> <?php _e('文章') ?>
|
2021-07-25 09:12:40 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
|
|
|
<?php $this->widget('Widget_Contents_Page_List')->to($pagelist);
|
|
|
|
while ($pagelist->next()): ?>
|
|
|
|
<li class="nav-item">
|
2021-08-01 22:02:11 +08:00
|
|
|
<a class="nav-link nav-link-icon <?php if ($this->is('page', $pagelist->slug)){echo 'text-default';}else{echo 'text-gray';}?>" href="<?php echo $pagelist->permalink ?>">
|
2021-07-25 09:12:40 +08:00
|
|
|
<?php if ($pagelist->fields->pageIcon != '') {?>
|
2021-08-04 21:39:46 +08:00
|
|
|
<i class="<?php echo $pagelist->fields->pageIcon ?>"></i>
|
2021-07-25 09:12:40 +08:00
|
|
|
<?php } ?>
|
|
|
|
<?php echo $pagelist->title ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endwhile;?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2021-08-04 20:47:28 +08:00
|
|
|
<script>$(document).ready(function(){$(".navbar ul.navbar-nav li:last-child").addClass("mr-0");});</script>
|
2021-07-25 09:12:40 +08:00
|
|
|
|
|
|
|
<div id="body">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|