2 Star 21 Fork 5

cory_lin / halo-theme-xue-codeyee

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
sheet.ftl 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
xzhuz 提交于 2020-07-25 17:43 . ✨ Feat: 首页全屏和文章简介
<#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 sheet.thumbnail?? && sheet.thumbnail!=''>
<div class="cover-bg">
<img src="${sheet.thumbnail!}" 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 md-content px-4 mt-16 max-w-6xl tracking-wider md:leading-relaxed sm:leading-normal ct-container cn-pd content-container"
id="write">
${sheet.formatContent!}
</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">
<#if is_post??>
<@comment post,"post" />
<#elseif is_sheet??>
<@comment sheet,"sheet" />
</#if>
</div>
</main>
</@layout>
CSS
1
https://gitee.com/codeyee/halo-theme-xue-codeyee.git
git@gitee.com:codeyee/halo-theme-xue-codeyee.git
codeyee
halo-theme-xue-codeyee
halo-theme-xue-codeyee
master

搜索帮助