Initial commit
This commit is contained in:
31
module/macro.ftl
Normal file
31
module/macro.ftl
Normal file
@@ -0,0 +1,31 @@
|
||||
<#macro layout title>
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="keywords" content="${meta_keywords!}"/>
|
||||
<meta name="description" content="${meta_description!}" />
|
||||
|
||||
<#--
|
||||
公共 head 代码,详情请参考:https://docs.halo.run/zh/developer-guide/theme/public-template-tag
|
||||
包含:Favicon,自定义 head 等
|
||||
-->
|
||||
|
||||
<@global.head />
|
||||
|
||||
<title>${title}</title>
|
||||
</head>
|
||||
<body>
|
||||
<#include "menu.ftl">
|
||||
|
||||
<#nested >
|
||||
|
||||
<#--
|
||||
公共底部代码,详情请参考:https://docs.halo.run/zh/developer-guide/theme/public-template-tag
|
||||
包含:统计代码,底部信息
|
||||
-->
|
||||
<@global.footer />
|
||||
</body>
|
||||
</html>
|
||||
</#macro>
|
||||
|
||||
Reference in New Issue
Block a user