45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
<#macro head title>
|
||
<!DOCTYPE html>
|
||
<html lang="zh">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="keywords" content="${meta_keywords!}"/>
|
||
<meta name="description" content="${meta_description!}" />
|
||
<link href="${theme_base!}/source/css/kico.css" rel="stylesheet" type="text/css"/>
|
||
<link href="${theme_base!}/source/css/single.css" rel="stylesheet" type="text/css"/>
|
||
<#--
|
||
公共 head 代码,详情请参考:https://docs.halo.run/zh/developer-guide/theme/public-template-tag
|
||
包含:Favicon,自定义 head 等
|
||
-->
|
||
|
||
<@global.head />
|
||
|
||
<title>${title}</title>
|
||
</head>
|
||
<body>
|
||
<#-- <#include "menu.ftl">
|
||
-->
|
||
<@menuTag method="list">
|
||
<#--
|
||
?sort_by('priority'):根据菜单的排序编号排序
|
||
-->
|
||
<#list menus?sort_by('priority') as menu>
|
||
<li>
|
||
<a href="${menu.url}" target="${menu.target!}">${menu.name} </a>
|
||
</li>
|
||
</#list>
|
||
</@menuTag>
|
||
<#nested >
|
||
<#--
|
||
公共底部代码,详情请参考:https://docs.halo.run/zh/developer-guide/theme/public-template-tag
|
||
包含:统计代码,底部信息
|
||
-->
|
||
<script src="${theme_base!}/source/js/kico.js"></script>
|
||
<script src="${theme_base!}/source/js/single.js"></script>
|
||
<script src="${theme_base!}/source/js/prism.js"></script>
|
||
<@global.footer />
|
||
</body>
|
||
</html>
|
||
</#macro>
|
||
|