forked from dyedd/lanstar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
47 lines (46 loc) · 1.5 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
<?php
/**
* 自制简单主题,你的star就是我的动力
*
* @package Lanstar
* @author 染念
* @version 2.2.5
* @link https://dyedd.cn
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('layout/header.php');
?>
<div class="container">
<div class="row">
<?php $this->need('layout/left.php'); ?>
<div class="col-xl-7 col-md-6 col-12" id="pjax-container">
<?php if ($this->options->bannerUrl): ?>
<?php $this->need('component/index.banner.php') ?>
<?php endif; ?>
<?php $this->need('component/index.article.php'); ?>
<div class="page-pagination">
<?php
$this->pageNav(
'<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-zuo"></use>
</svg>',
'<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-you"></use>
</svg>',
3, '...', array(
'wrapTag' => 'ul',
'wrapClass' => 'pagination justify-content-center',
'itemTag' => 'li',
'itemClass' => 'page-item',
'linkClass' => 'page-link',
'currentClass' => 'active'
));
?>
</div>
</div>
<?php $this->need('layout/right.php'); ?>
</div>
</div>
<?php $this->need('component/index.footer.php'); ?>
</body>
</html>