chore: 重写初始提交(清空历史,整理后全量提交)

This commit is contained in:
ywxapp
2026-08-16 16:54:14 +08:00
commit 6c1a106bc1
1808 changed files with 238144 additions and 0 deletions
@@ -0,0 +1,48 @@
<!-- 右侧栏:热门文章 / 分类 / 标签云 / 最新评论(前台共用 fb-aside 风格) -->
<aside class="fb-aside">
<div class="fb-widget">
<h4>热门文章</h4>
<ul class="fb-hot">
{volist name="hotArticles" id="a"}
<li>
<span class="rank">{$i}</span>
<a href="{:url('blog/article/detail', ['id' => $a.id])}">{$a.title}</a>
</li>
{/volist}
</ul>
</div>
<div class="fb-widget">
<h4>文章分类</h4>
<ul class="fb-catlist">
{volist name="categories" id="c"}
<li><a href="{:url('blog/category/index', ['id' => $c.id])}">{$c.name}<span class="cnt">{$c.card_count|default=0}</span></a></li>
{/volist}
</ul>
</div>
<div class="fb-widget">
<h4>标签云</h4>
<div class="fb-tagcloud">
{volist name="tags" id="t"}
<a href="{:url('blog/tag/index', ['id' => $t.id])}">{$t.name}</a>
{/volist}
</div>
</div>
{notempty name="latestComments"}
{if !$latestComments->isEmpty()}
<div class="fb-widget">
<h4>最新评论</h4>
<ul class="fb-cmt">
{volist name="latestComments" id="cmt"}
<li>
<span class="who">{$cmt.user.nickname|default='匿名'}</span>
<span class="txt">{$cmt.content}</span>
</li>
{/volist}
</ul>
</div>
{/if}
{/notempty}
</aside>