This repository has been archived by the owner on Jul 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
/
blog.php
47 lines (40 loc) · 1.74 KB
/
blog.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
/**
* neighbor page
*/
$this->need('includes/header.php');
?>
<?php $this->need('includes/body-layout.php');?>
<div class="hbox hbox-auto-xs hbox-auto-sm index">
<div class="col center-part">
<div class="main-content">
<!-- 主体 -->
<section class="container-xl j-index">
<section class="j-adaption">
<section class="main">
<?php if ($this->is('blog')) : ?>
<?php $this->need('blog/component/index.banner.php'); ?>
<?php $this->need('blog/component/index.hot.php'); ?>
<?php $this->need('blog/component/index.ad.php'); ?>
<?php $this->need('blog/component/index.title.php'); ?>
<?php else : ?>
<?php $this->need('blog/component/search.title.php'); ?>
<?php endif; ?>
<section class="j-index-article article">
<!-- 置顶文章 -->
<?php if ($this->is('blog')) : ?>
<?php $this->need('blog/component/index.sticky.php'); ?>
<?php endif; ?>
<!-- 列表 -->
<?php $this->need('blog/component/index.list.php'); ?>
</section>
</section>
<?php $this->need('blog/public/blog-pagination.php'); ?>
</section>
</section>
<!--分页-->
<!-- --><?php //$this->need('includes/post-pagination.php');?>
</div>
</div>
</div>
<?php $this->need('includes/footer.php');?>