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
/
links.php
41 lines (40 loc) · 1.46 KB
/
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
<?php
/**
* 友情链接
*
* @package custom
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$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="page">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php $this->options->siteUrl();?>">首页</a></li>
<?php if ($this->is('post')): ?>
<li class="breadcrumb-item active" aria-current="page"><?php $this->title()?></li>
<?php else: ?>
<li class="breadcrumb-item active" aria-current="page"><?php $this->archiveTitle('»','',''); ?></li>
<?php endif; ?>
</ol>
</nav>
<article class="post">
<h1 class="article-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h1>
<div class="links-box container-fluid">
<div class="row">
<?php $this->content(); ?>
</div>
</div>
</article>
<?php $this->need('includes/comments.php'); ?>
</div>
</div>
<?php $this->need('includes/right.php');?>
</div>
<?php $this->need('includes/body-layout-end.php');?>
<?php
$this->need('includes/footer.php');
?>