1.0
This commit is contained in:
31
post.php
Normal file
31
post.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<?php $this->need('header.php'); ?>
|
||||
<style>
|
||||
.tags a::before {
|
||||
content: "#";
|
||||
}
|
||||
</style>
|
||||
<main class="container">
|
||||
<div class="container-thin">
|
||||
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<?php postMeta($this, 'post'); ?>
|
||||
|
||||
<div class="entry-content fmt" itemprop="articleBody">
|
||||
<?php $this->content(); ?>
|
||||
<p itemprop="keywords" class=“tags” style="text-align:center;padding-top:20px;text-decoration:none;"><?php _e('标签'); ?>:<?php $this->tags(' ', true, _t('无')); ?>
|
||||
</p>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<!--<nav class="post-nav">
|
||||
<ul class="page-navigator">
|
||||
<li class="prev"><?php $this->thePrev('%s', _t('没有了')); ?></li>
|
||||
<li class="next"><?php $this->theNext('%s', _t('没有了')); ?></li>
|
||||
</ul>
|
||||
</nav>-->
|
||||
|
||||
<!--<?php $this->need('comments.php'); ?>-->
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<?php $this->need('footer.php'); ?>
|
||||
Reference in New Issue
Block a user