移植进度1%

Signed-off-by: julylies <julylies2018@163.com>
This commit is contained in:
julylies 2022-04-11 22:43:26 +08:00
parent d1552f4ed5
commit 2ad7117e8a
7 changed files with 19 additions and 1 deletions

1
404.ftl Normal file
View File

@ -0,0 +1 @@

1
comments.ftl Normal file
View File

@ -0,0 +1 @@

1
footer.ftl Normal file
View File

@ -0,0 +1 @@

0
header.ftl Normal file
View File

View File

@ -1,5 +1,8 @@
<#include "module/macro.ftl">
<@head title="${blog_title!}"/>
<#macro greet>
<font size="+2">Hello Joe!</font>
<#--<h1>公告</h1>
<p>
${settings.index_notice!}
@ -57,4 +60,5 @@
</div>
</main>
<@greet></@greet>
</#macro>

View File

@ -19,6 +19,16 @@
<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

1
page.ftl Normal file
View File

@ -0,0 +1 @@