代码拉取完成,页面将自动刷新
同步操作将从 qinhua/halo-theme-joe2.0 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="zh-CN">
<#import "template/common/header.ftl" as headInfo>
<@headInfo.head title="文章分类" type="categorys"/>
<#import "template/macro/tail.ftl" as tailInfo>
<body>
<div id="Joe">
<#include "template/common/navbar.ftl">
<div class="joe_container joe_main_container page-categories${settings.enable_show_in_up?then(' animated showInUp','')}${(settings.aside_position=='left')?then(' revert','')}">
<div class="joe_main">
<div class="joe_index">
<div class="joe_index__title">
<ul class="joe_index__title-title pl-15">
<li class="item active">${settings.categories_title!}<@categoryTag method="count"><span class="totals">${count!0}</span></@categoryTag></li>
</ul>
</div>
<div class="joe_index__hot categories">
<@categoryTag method="list">
<#if categories?size gt 0>
<#assign random_img_ok=settings.enable_random_img_api==true && settings.random_img_api!=''>
<ul class="joe_index__hot-list${(settings.categories_type!='card')?then('-tag','')} animated fadeIn">
<#list categories?sort_by(settings.categories_sort)?reverse as category>
<#if settings.categories_type=='card'>
<li class="item">
<a class="link" href="${category.fullPath!}" title="${category.name!}">
<figure class="inner">
<#-- <#if settings.enable_categories_post_num!true><span class="post-nums">${category.postCount!}篇</span></#if> -->
<#if settings.enable_categories_post_num!true>
<#include "template/macro/post_num.ftl">
<@post_num type="category" id="${category.id?c}" suffix="篇" />
</#if>
<#assign thumbnail=(category.thumbnail?? && category.thumbnail!='')?then(category.thumbnail,(random_img_ok==true)?then(settings.random_img_api + ((settings.random_img_api?index_of('?')!=-1)?then('&','?')) + '_r=' + category.id,'https://picsum.photos/id/2${category_index}/350/200')) >
<img width="100%" height="120" class="image lazyload" data-src="${thumbnail}" src="${LAZY_IMG}" onerror="Joe.errorImg(this,'${settings.fallback_thumbnail!}')" alt="${category.name!}">
<figcaption class="title">${category.name!}</figcaption>
</figure>
</a>
</li>
<#else>
<li class="item">
<a class="link" href="${category.fullPath!}" title="${category.name!}">
<span title="${category.name!}">${category.name!}</span>
<#if settings.enable_categories_post_num!true>
<#include "template/macro/post_num.ftl">
<@post_num type="category" id="${category.id?c}" />
</#if>
</a>
</li>
</#if>
</#list>
</ul>
<#else>
<#include "template/macro/empty.ftl">
<@empty type="categories" text="未找到相关文章..."/>
</#if>
</@categoryTag>
</div>
</div>
</div>
<#if settings.enable_categories_aside!true>
<#include "template/common/aside.ftl">
</#if>
</div>
<#include "template/common/actions.ftl">
<#include "template/common/footer.ftl">
</div>
<@tailInfo.tail type="categories"/>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。