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
/
page.php
32 lines (29 loc) · 1.42 KB
/
page.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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $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="article-content joe_detail__article">
<?php _parseContent($this, $this->user->hasLogin()) ?>
</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'); ?>