-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpage-links.php
88 lines (67 loc) · 2.08 KB
/
page-links.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
/**
* 友链页面
*
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<div class="mubu" style="background-image: url(
<?php
if ($this->fields->thumb != "") {
echo $this->fields->thumb;
} else {
echo $this->options->morenimg;
}
?>
)">
<?php $this->need('nav.php') ?>
<div class="hbg">
<div class="main">
<div class="ht">
<h1 class="bgt" id="post"><?php $this->title() ?></h1>
<p> 盆友们~</p>
</div>
</div>
</div>
</div>
<div id="h">
<div class="main">
<div class="row full">
<div class="col-l-12" id="postx">
<div class="col-l-12" id="poslist">
<div class="post-card">
<article>
<div class="row full">
<?php
if (class_exists("Links_Plugin")) {
$Links = Links_Plugin::output('
<div class="col-l-3" id="liks-list">
<div class="liks-card">
<img src="{image}" ks-original="{image}" alt="{name}">
<a href="{url}" target="_blank">
<div style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" >{name}</div>
</a>
<div style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">{description}</div>
</div>
</div>
');
}
?>
</div>
</article>
</div>
</div>
<div class="col-l-12" id="poslist">
<div class="post-card">
<article>
<?php echo RewriteContent($this->content); ?> </article>
</div>
</div>
<?php $this->need('comments.php'); ?>
</div>
</div>
</div>
</div>
<?php $this->need('footer.php'); ?>