-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy patharchive.php
More file actions
28 lines (21 loc) · 1.37 KB
/
archive.php
File metadata and controls
28 lines (21 loc) · 1.37 KB
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
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>
<section class="content-wrap">
<div class="layout">
<main class="layout__main">
<div class="breadcrumb">
<span class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>" title="<?php $this->options->title(); ?>">首页</a></span>
<?php $this->archiveTitle(array(
'category' => _t('<span class="breadcrumb__item">分类</span><span class="breadcrumb__item breadcrumb__item--active">%s</span>'),
'search' => _t('<span class="breadcrumb__item">搜索</span><span class="breadcrumb__item breadcrumb__item--active">%s</span>'),
'tag' => _t('<span class="breadcrumb__item">标签</span><span class="breadcrumb__item breadcrumb__item--active">%s</span>'),
'author' => _t('<span class="breadcrumb__item">作者</span><span class="breadcrumb__item breadcrumb__item--active">%s</span>'),
'date' => _t('<span class="breadcrumb__item">归档</span><span class="breadcrumb__item breadcrumb__item--active">%s</span>'),
), '', ''); ?>
</div>
<?php $this->need('post_list.php'); ?>
</main>
<?php $this->need('sidebar.php'); ?>
</div>
</section>
<?php $this->need('footer.php'); ?>