1 Star 0 Fork 0

donglei/halo-theme-xue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
categories.ftl 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
Ryan Wang 提交于 2021-11-06 12:41 . style: reformat code
<#include "module/macro.ftl">
<@layout title="${settings.categories_title! 'Categories'} | ${options.blog_title!}">
<main class="mx-auto" id="container">
<header class="bg-cover post-cover">
<#if settings.categories_patternimg?? && settings.categories_patternimg!=''>
<div class="cover-bg">
<img src="${settings.categories_patternimg!}" class="z-auto"
alt="${settings.categories_title! '分类列表'}">
</div>
<#else>
<div class="placeholder-bg">
</div>
</#if>
<div class="cover-content flex justify-center">
<!-- 封面内容 -->
<div class="inner flex flex-col justify-center">
<p class="cover-title text-base md:text-4xl lg:text-4xl xl:text-5xl">${settings.categories_title! '分类列表'}</p>
</div>
</div>
</header>
<div
class="container mx-auto px-4 mt-16 max-w-6xl tracking-wider md:leading-relaxed sm:leading-normal ct-container cn-pd content-container">
<h2>分类</h2>
<p class="flex flex-row justify-start flex-wrap">
<@categoryTag method="list">
<#if categories?? && categories?size gt 0>
<#list categories as category>
<a href="${category.fullPath}" class="post-tag mt-2 mb-2 mr-2">
${category.name} <span class="tag-length">${category.postCount!}</span>
</a>
</#list>
</#if>
</@categoryTag>
</p>
<h2 style="margin-bottom: 0;">云</h2>
<div id="categoryCloud" class="card-content jqcloud jqcloud-hg"></div>
</div>
</main>
</@layout>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/li-donglei/halo-theme-xue.git
git@gitee.com:li-donglei/halo-theme-xue.git
li-donglei
halo-theme-xue
halo-theme-xue
master

搜索帮助