halo-theme-Single/footer.ftl

64 lines
3.1 KiB
Plaintext
Raw Normal View History

2022-04-14 21:48:19 +08:00
<footer>
2022-04-15 21:53:07 +08:00
<div class="buttons">
2022-04-14 21:48:19 +08:00
<a class="to-top" href="#"></a>
</div>
<div class="wrap min">
<#if settings.widget_set!true>
<section class="widget">
<div class="row">
<div class="col-m-4">
<h3 class="title-recent">最新文章:</h3>
<ul>
<@postTag method="latest" top="6">
<#list posts as post>
<li>
<a href="${post.fullPath!}" target="_blank">${post.title!}</a>
</li>
</#list>
</@postTag>
</ul>
</div>
<div class="col-m-4">
<#--存在问题 -->
<h3 class="title-date">时光机:</h3>
<ul>
2022-04-18 22:06:41 +08:00
<@postTag method="archiveMonth" >
<#list archives as archive>
2022-04-14 21:48:19 +08:00
<li>
<a href="${archive.fullPath!}" rel="nofollow" target="_blank">${archive.year?c} 年${archive.month?c} 月</a>
</li>
2022-04-18 22:06:41 +08:00
<#if ((archive?counter)?eval==6)>
<#break>
</#if>
2022-04-14 21:48:19 +08:00
</#list>
</@postTag>
</ul>
</div>
<div class="col-m-4">
2022-04-18 22:06:41 +08:00
<#--存在问题点击超链接后不能跳转到评论模块 -->
2022-04-14 21:48:19 +08:00
<h3 class="title-comments">最近评论:</h3>
<ul>
<@commentTag method="latest" top="6">
<#list comments.content as comment>
2022-04-18 22:06:41 +08:00
<li>${comment.author!} <a href="${comment.post.fullPath!}#${comment.id!}" rel="nofollow" target="_blank">${comment.content!}</a></li>
2022-04-14 21:48:19 +08:00
</#list>
</@commentTag>
</ul>
</div>
</div>
</#if>
<section class="sub-footer">
<p>© ${.now?string("yyyy")} <a href="${blog_url!}">${(user.nickname)!}</a>. All Rights Reserved. Theme By <a href="https://github.com/Dreamer-Paul/Single" target="_blank" rel="nofollow">Single</a>.</p>
</section>
</div>
</footer>
<@global.footer />
<script type='text/javascript' src="${theme_base!}/source/js/kico.js"></script>
<script type='text/javascript' src="${theme_base!}/source/js/single.js"></script>
<#if is_post??|| is_journals??>
<script type='text/javascript' src="${theme_base!}/source/plugins/prism/prism.min.js"></script>
</#if>
2022-04-14 21:48:19 +08:00
<script>var single = new Paul_Single({copyright: <#if settings.copy_notice!true>true<#else>false</#if>, night: <#if settings.night_mode=='1'>true<#else>false</#if>});</script>
</body>
</html>