mirror of
https://github.com/jkjoy/typecho-theme-farallon.git
synced 2026-06-28 00:54:32 +00:00
0.7.1
This commit is contained in:
+3
-1
@@ -1,8 +1,9 @@
|
||||
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<div class="related--content">
|
||||
<?php $this->related(6)->to($relatedPosts); ?>
|
||||
<?php if ($relatedPosts->have()): ?>
|
||||
<h3 class="related--posts__title">相关文章</h3>
|
||||
<div class="post--single__related">
|
||||
<?php $this->related(6)->to($relatedPosts); ?>
|
||||
<?php while ($relatedPosts->next()): ?>
|
||||
<div class="post--single__related__item">
|
||||
<a href="<?php $relatedPosts->permalink(); ?>">
|
||||
@@ -18,4 +19,5 @@
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user