1 Star 1 Fork 0

chenjunlin / concise_orange

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
page-label.php 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
chenjunlin 提交于 2021-08-06 14:05 . 更新
<?php
/**
* 标签
*
* @package custom
*/
?>
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this -> need('header.php');?>
<main class="ajaxdata">
<article id="post-content" class="container">
<div class="post-content-main">
<div class="post-mains"><a href="<?php $this->options->siteUrl(); ?>">首页</a> &raquo; <?php $this->archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'date' => _t('在 %s 发布的文章'),
'author' => _t('作者 %s 发布的文章')
), '', ''); ?></div>
<div class="post-mains">
<h3 class="post-title">
<a href="<?php $this->permalink() ?>">
<?php $this->title() ?>
</a>
</h3>
<!--输出文章内容-->
<div class="post-article">
<ul class="label-main">
<?php $this->widget('Widget_Metas_Tag_Cloud', 'ignoreZeroCount=1&limit=30')->to($tags); ?>
<?php if($tags->have()): ?>
<?php while($tags->next()): ?>
<li class="label-main">
<a href="<?php $tags->permalink(); ?>">
<?php $tags->name(); ?>
</a>
</li>
<?php endwhile; ?>
<?php else: ?>
<li>暂无标签</li>
<?php endif; ?>
</ul>
</div>
</div>
<?php $this->need('comments.php'); ?>
</div>
<?php $this -> need('sidebar.php');?>
</article>
</main>
<div class="go-top">
<a href="#add">GO</a>
</div>
<?php $this -> need('footer.php'); ?>
PHP
1
https://gitee.com/chenjunlinabc/concise_orange.git
git@gitee.com:chenjunlinabc/concise_orange.git
chenjunlinabc
concise_orange
concise_orange
master

搜索帮助