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

60 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-12-28 08:36:20 +08:00
<#macro layout title>
<!DOCTYPE html>
<html lang="zh-CN" data-font="sans" data-mode="dark">
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 />
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"/>
<link rel="stylesheet" href="${theme_base!}/source/css/font.css"/>
2021-12-28 17:05:11 +08:00
<link rel="stylesheet" href="${theme_base!}/source/css/color.css"/>
2021-12-31 15:53:37 +08:00
<link rel="stylesheet" href="${theme_base!}/source/css/markdown.css"/>
2021-12-28 17:05:11 +08:00
<link rel="stylesheet" href="${theme_base!}/source/css/redemption.css"/>
2021-12-31 15:53:37 +08:00
2021-12-31 15:53:37 +08:00
2021-12-28 17:05:11 +08:00
</head>
<body>
<div class="container animate__animated animate__fadeInDown">
2021-12-31 15:53:37 +08:00
<#-- 主体 -->
<#nested >
<#-- 脚注 -->
<footer>
<#-- <#include "menu.ftl"> -->
<div class="copyright">
<a href="https://www.7wate.com">Designed by 7Wate.</a>
<a href="https://halo.run">Proudly published with Halo</a>
</div>
<@global.footer />
</footer>
</div>
<#-- 自定义JS代码 -->
<script src="${theme_base!}/source/js/redemption.js"></script>
2021-12-31 15:53:37 +08:00
<#-- 公共JS代码 -->
<script src="${theme_base!}/source/plugins/heti/heti-addon.js"></script>
<script>
const heti = new Heti('.heti');
heti.autoSpacing();
</script>
2021-12-28 17:05:11 +08:00
</body>
2021-12-28 08:36:20 +08:00
</html>
</#macro>