2 Star 21 Fork 5

cory_lin/halo-theme-xue-codeyee

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sheet_links.ftl 3.53 KB
一键复制 编辑 原始数据 按行查看 历史
<#include "module/macro.ftl">
<@layout title="${sheet.title!'友情链接'} | ${options.blog_title!}" keywords="${options.seo_keywords!}" description="${options.seo_description!}">
<main class="mx-auto" id="container">
<header class="bg-cover post-cover">
<#if settings.links_placeholder?? && settings.links_placeholder!=''>
<div class="cover-bg">
<img src="${settings.links_placeholder!}" class="z-auto"
alt="${sheet.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">${sheet.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">
<@linkTag method="listTeams">
<#list teams as item>
<#if item.team?? && item.team!=''>
<h3 class="w-full m-4">${item.team}</h3>
</#if>
<div class="flex flex-row flex-wrap grid lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1">
<#list item.links?sort_by('priority')?reverse as link>
<a class="lk-card-im card-item-vel block" href="${link.url}" target="_blank"
onfocus="this.blur();">
<div class="media">
<div class="media-left">
<figure class="image is-64x64">
<#if link.logo?? && link.logo != ''>
<img src="${link.logo}" alt="${link.name}">
<#elseif settings.links_placeholder?? && settings.links_placeholder != ''>
<img src="${settings.links_placeholder}"
alt="${link.name}">
<#else>
<img src="https://cdn.jsdelivr.net/gh/xzzai/[email protected]/placeholder.jpg"
alt="${link.name}">
</#if>
</figure>
</div>
<div class="media-content">
<p class="lk-title">${link.name}</p>
<p class="lk-desc">${link.description}</p>
</div>
</div>
</a>
</#list>
</div>
</#list>
<div id="write">
<!--声明区域-->
${sheet.formatContent!}
</div>
</@linkTag>
</div>
<div class="container mx-auto px-4 mt-16 max-w-6xl tracking-wider md:leading-relaxed sm:leading-normal ct-container cn-pd">
<#include "module/comment.ftl">
<@comment sheet,"sheet" />
</div>
</main>
</@layout>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
CSS
1
https://gitee.com/codeyee/halo-theme-xue-codeyee.git
[email protected]:codeyee/halo-theme-xue-codeyee.git
codeyee
halo-theme-xue-codeyee
halo-theme-xue-codeyee
master

搜索帮助