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

43 lines
1.7 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-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>
<a href="https://halo.run">Designed by 7Wate . Proudly published with Halo</a>
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>