-
Notifications
You must be signed in to change notification settings - Fork 37
/
header.php
executable file
·51 lines (49 loc) · 2.18 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>
<?php
require_once 'config.php';
if ($GLOBALS['style_TextIndent'] == 'on') {
echo '<style>';
echo '.post-content p,.post-content li{text-indent: 2em;}';
echo '</style>';
echo "\n";
}
$index_img=$GLOBALS['index_Image'];
?>
<head>
<meta charset="utf-8">
<title><?php $this->archiveTitle(array(
'category' => _t('%s'),
'search' => _t('%s'),
'tag' => _t('%s'),
'author' => _t('%s')
), '', ' - '); ?><?php $this->options->title(); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php $this->header('keywords=&generator=&template=&pingback=&xmlrpc=&wlw=&commentReply=&rss1=&rss2=&atom='); ?>
<link href="<?php $this->options->themeUrl('./css/mori.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('./css/vendor/bootstrap/css/bootstrap.min.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('./css/flat-ui.min.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('./css/prism.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('./fonts/md/css/material-design-iconic-font.min.css'); ?>" rel="stylesheet">
<link href="<?php $this->options->themeUrl('./js/zoom-js/css/zoom.css'); ?>" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
<script src="js/vendor/html5shiv.js"></script>
<script src="js/vendor/respond.min.js"></script>
<![endif]-->
</head>
<body>
<header>
<?php if (!$this->is('post')): ?>
<div class="container" id="main">
<a id="logo" href="<?php $this->options->siteUrl(); ?>">
<?php if ($this->options->logoUrl): ?>
<img src="<?php $this->options->logoUrl() ?>" alt="<?php $this->options->title() ?>" />
<?php endif; ?>
<h1 style="color: #34495e;"><?php $this->options->title() ?></h1>
</a>
<p class="description"><?php $this->options->description() ?></p>
<hr>
</div>
<?php endif; ?>
</header>