parent
d1552f4ed5
commit
2ad7117e8a
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -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>
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue