1 Star 0 Fork 0

程序员墨鱼/Typecho 主题 Hymer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
post.php 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
ChasingWorld 提交于 2020-11-03 14:31 . '版本1.0'
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>
<!doctype html>
<html lang="zh-CN">
<head>
<?php $this->need('layout/header.php'); ?>
</head>
<body class="user-select single">
<!-- 导航条 -->
<?php $this->need('layout/nav.php'); ?>
<section class="container">
<div class="content-wrap">
<div class="content">
<header class="article-header">
<h1 class="article-title">
<a href="<?php $this->permalink() ?>"
title="<?php $this->title() ?>">
<?php $this->title() ?>
</a>
</h1>
<div class="article-meta">
<span class="item article-meta-time">
<time class="time" data-toggle="tooltip" data-placement="bottom" title=""
data-original-title="发表时间:<?php $this->date() ?>">
<i class="glyphicon glyphicon-time"></i>
<?php $this->date() ?>
</time>
</span>
<span class="item article-meta-source" data-toggle="tooltip" data-placement="bottom"
title="" data-original-title="作者:<?php $this->author() ?>">
<i class="glyphicon glyphicon-user"></i>
<?php $this->author() ?>
</span>
<span class="item article-meta-category" data-toggle="tooltip" data-placement="bottom"
title="" data-original-title="分类:<?php $this->category(',', false) ?>">
<i class="glyphicon glyphicon-list"></i>
<?php $this->category(',') ?>
</span>
<!--<span class="item article-meta-views"-->
<!-- data-toggle="tooltip" data-placement="bottom" title="" data-original-title="浏览量:219">-->
<!-- <i class="glyphicon glyphicon-eye-open"></i> 219-->
<!--</span>-->
<span class="item article-meta-comment"
data-toggle="tooltip" data-placement="bottom" title="" data-original-title="评论量">
<i class="glyphicon glyphicon-comment"></i>
<?php $this->commentsNum() ?>
</span>
</div>
<!-- 文章的标签 -->
<div class="article-tags">
标签: <?php $this->tags('', true, 'none'); ?>
</div>
</header>
<article class="article-content">
<?php $this->content('Continue Reading...'); ?>
</article>
<!-- 分享功能 TODO -->
<?php // $this->need('post/share.php') ?>
<!-- 文章的版权声明 -->
<?php $this->need('post/post-copyright.php') ?>
<!-- 打赏 -->
<?php $this->need('post/reward.php') ?>
<!-- 评论 -->
<?php $this->need('post/comment.php') ?>
</div>
</div>
<!-- 侧边栏 -->
<?php $this->need('sidebar/index.php'); ?>
</section>
<?php $this->need('layout/footer.php'); ?>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/codermac/typecho-theme-hymer.git
git@gitee.com:codermac/typecho-theme-hymer.git
codermac
typecho-theme-hymer
Typecho 主题 Hymer
master

搜索帮助