forked from crazylxr/Typecho-Theme-Notion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
60 lines (56 loc) · 2.2 KB
/
index.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
52
53
54
55
56
57
58
59
60
<?php
/**
* 一款简洁的主题
*
* @package notion
* @author taoweng
* @version 1.0
* @link http://typecho.org
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div class="main">
<div class="container">
<div class="intro">
<div class="avatar">
<a href="/"><img src="<?php $this->options->logoUrl() ?>"></a>
</div>
<h1 class="nickname">
<a href="<?php $this->options->siteUrl(); ?>">
<?php $this->options->title() ?>
</a>
</h1>
<div class="description">
<p>
<span><?php $this->options->description() ?></span>
</p>
</div>
<div class="links">
<a class="link-item" title="Blog" href="/archives.html">
<i class="fa fa-book fa-2x" aria-hidden="true"></i>
</a>
<a target="_blank" class="link-item" title="Github" href="<?php $this->options->githubUrl() ?>">
<i class="fa fa-github fa-2x" aria-hidden="true"></i>
</a>
<a target="_blank" class="link-item weixin" title="点击关注桃翁" href="<?php $this->options->weixinUrl() ?>">
<i class="fa fa-weixin fa-2x" aria-hidden="true"></i>
</a>
<a target="_blank" class="link-item weibo" title="weibo" href="<?php $this->options->weiboUrl() ?>">
<i class="fa fa-weibo fa-2x" aria-hidden="true"></i>
</a>
<a target="_blank" class="link-item twitter" title="twitter" href="<?php $this->options->twitterUrl() ?>">
<i class="fa fa-twitter fa-2x" aria-hidden="true"></i>
</a>
<a class="link-item rss" title="rss" href="<?php $this->options->rssUrl() ?>">
<i class="fa fa-rss-square fa-2x" aria-hidden="true"></i>
</a>
</div>
<div>
<img style="width: 250px;" src="<?php $this->options->adUrl() ?>"/>
</div>
</div>
</div>
</div>
<!-- end #main-->
<?php $this->need('footer.php'); ?>