-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathheader.php
51 lines (51 loc) · 2.49 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"/>
<meta content="yes" name="apple-mobile-web-app-capable"/>
<meta content="black" name="apple-mobile-web-app-status-bar-style"/>
<meta http-equiv="Cache-Control" content="no-transform"/>
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta content="telephone=no" name="format-detection"/>
<meta name="renderer" content="webkit">
<?php $this->header('generator=&template=&pingback=&xmlrpc=&commentReply='); ?>
<title><?php $this->archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ' - '); ?><?php $this->options->title(); ?></title>
<link data-n-head="true" rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/style.css'); ?>">
<script type="text/javascript" src="<?php $this->options->themeUrl('css/jquery.js'); ?>"></script>
<?php if ($this->options->fontshow == 'able'): ?>
<style type="text/css">* {text-shadow : 0.01em 0.01em 0.01em #999999}</style>
<?php endif; ?>
</head>
<body>
<div class="wrapper">
<header><a href="<?php $this->options->siteUrl();?>" class="logo"><?php if($this->options->logoUrl): ?><img src="<?php $this->options->logoUrl();?>" alt="<?php $this->options->title() ?>" /><?php else : ?><img src="<?php $this->options->themeUrl('css/pic.png'); ?>"/><?php endif; ?></a>
<div class="description">
<h1><?php $this->options->title(); ?></h1>
<h2><?php $this->options->description() ?></h2>
<nav>
<div class="bitcron_nav_container">
<div class="bitcron_nav">
<div class="mixed_site_nav_wrap site_nav_wrap">
<ul class="mixed_site_nav site_nav sm sm-base">
<li><a href="<?php $this->options->siteUrl();?>" class="selected active current nav__item">首页</a></li>
<?php $this->widget('Widget_Contents_Page_List')->parse('<li><a href="{permalink}" class="nav__item">{title}</a></li>'); ?>
<li><a href="<?php $this->options->feedUrl(); ?>" class=" nav__item">订阅</a></li>
</ul>
<div class="clear clear_nav_inline_end">
</div>
</div>
</div>
<div class="clear clear_nav_end">
</div>
</div>
</nav>
</div>
</header>