-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.php
61 lines (57 loc) · 2.63 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
61
<?php
/**
* typecho图片主题,修改自 <a href='https://typecho.me/1031.html'>pic</a> 主题.<br>原作为网页模板 <a href='https://themeforest.net/item/massive-responsive-multipurpose-html5-template/12503639'>massive</a>.<br>本版完全壁纸相册化,不支持博文显示
*
* @package pir
* @author fordes
* @version 1.2
* @link https://github.com/fordes123/typecho-theme-pir
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php'); ?>
<!--body content start-->
<section class="content">
<div class="container">
<div class="row ">
<div class="portfolio portfolio-with-title portfolio-masonry blog-m col-4 gutter ">
<?php if ($this->have()) : ?>
<?php while ($this->next()) : ?>
<div class="portfolio-item">
<div class="thumb">
<img class="img-item lazyload" data-fancybox="gallery" data-src="<?php echo $this->fields->original ?>" src="<?php $this->options->themeUrl('./img/loading.gif'); ?>" alt=""></img>
<div class="widget-tags">
<?php if ($this->options->mode) : ?>
<a href="<?php $this->permalink(); ?>">
<!--<i class="fa fa-send"></i> -->
<?php $this->title(); ?>
</a>
<?php else : ?>
<?php if (count($this->tags) == 0) {
$this->category(' ', true, '');
} else {
$this->tags(' ', true, '');
}
endif; ?>
</div>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
</div>
</div>
<div class="col-md-12">
<div class="text-center">
<div class="page-load-status">
<div class="loader-ellips tb-preloader-wave infinite-scroll-request"></div>
<p class="infinite-scroll-last">到底啦~</p>
<p class="infinite-scroll-error">加载错误</p>
</div>
</div>
</div>
<div class="ajaxloadpost" style="display:none">
<?php $this->pageLink('下一页', 'next'); ?>
</div>
</section>
<!--body content end-->
<?php $this->need('footer.php'); ?>