This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/module/macro.ftl

47 lines
1.8 KiB
Plaintext
Raw Normal View History

2021-12-28 08:36:20 +08:00
<#macro layout title>
<!DOCTYPE html>
2022-01-25 22:24:53 +08:00
<#-- <html lang="zh-CN" data-font="sans"> -->
<html lang="zh-CN">
2021-12-28 17:05:11 +08:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>${title}</title>
<meta name="keywords" content="${meta_keywords!}"/>
<meta name="description" content="${meta_description!}" />
<@global.head />
<#if is_index??>
<#-- 加速样式表 -->
<link rel="stylesheet" href="${theme_base!}/source/css/index.min.css"/>
<#else>
2021-12-31 15:53:37 +08:00
<#-- 公共样式表 -->
<link rel="stylesheet" href="${theme_base!}/source/plugins/normalize.css"/>
<link rel="stylesheet" href="${theme_base!}/source/plugins/animate.css"/>
<link rel="stylesheet" href="${theme_base!}/source/plugins/remixicon/remixicon.css"/>
<#-- 自定义样式表 -->
2022-01-25 22:24:53 +08:00
<link rel="stylesheet" href="${theme_base!}/source/css/Redemption.css"/>
</#if>
2021-12-28 17:05:11 +08:00
</head>
<body>
<div class="container animate__animated animate__fadeInDown">
<#-- 主体 -->
<#nested >
<#-- 脚注 -->
<footer>
<div class="copyright">
2022-11-01 16:39:08 +08:00
<#if settings.open_foreverblog!true>
2022-02-09 17:45:14 +08:00
<a href="https://www.foreverblog.cn/" target="_blank" >
<img src="${theme_base!}/source/images/logo_en_default.png" alt="" style="width:auto;height:1.25rem;">
2022-02-09 17:45:14 +08:00
</a>
2022-11-01 16:39:08 +08:00
</#if>
<#if settings.footer_title??>
<a href="https://halo.run">${settings.footer_title}</a>
</#if>
2022-01-21 11:25:35 +08:00
<@global.footer />
</div>
</footer>
</div>
2021-12-28 17:05:11 +08:00
</body>
2021-12-28 08:36:20 +08:00
</html>
</#macro>