fresh start
This commit is contained in:
16
component/post-item.php
Normal file
16
component/post-item.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php if (!defined("__TYPECHO_ROOT_DIR__")) {
|
||||
exit();
|
||||
} ?>
|
||||
|
||||
<div class="mx-1 flex flex-col gap-y-12 pb-12 border-stone-100 dark:border-neutral-600">
|
||||
<div></div>
|
||||
<?php while ($this->next()): ?>
|
||||
<?php if (isShuoShuoType($this->cid)): ?>
|
||||
<?php $this->need("component/post-item-moment.php"); ?>
|
||||
<?php elseif ($this->fields->Postype==1): ?>
|
||||
<?php $this->need("component/post-item-tu.php"); ?>
|
||||
<?php else: ?>
|
||||
<?php $this->need("component/post-item-default.php"); ?>
|
||||
<?php endif; ?>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user