halo-theme-hao/templates/modules/footer.html

87 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 页脚模块 -->
<footer id="footer" th:fragment="footer">
<!-- 社交链接,需要填入 href class title -->
<!-- todo 在 中间位置要插入 <img class="footer_mini_logo" onclick="acrylic.toTop()"
src="/img/avatar.webp" title="返回顶部"> -->
<div id="footer_deal"
th:if="${not #lists.isEmpty(theme.config.footer.socialMedia)}"
th:with="socialMedias = ${theme.config.footer.socialMedia}">
<a class="deal_link" rel="external nofollow" target="_blank"
th:each="socialMedia : ${socialMedias}"
th:href="${socialMedia.url}"
th:title="${socialMedia.name}">
<i class="iconfont " th:classappend="${socialMedia.icon}"></i>
</a>
</div>
<!-- 相关地址 -->
<th:block th:if="${not #strings.isEmpty(theme.config.footer.menu)}"
th:with="footMenu = ${menuFinder.getByName(theme.config.footer.menu)}">
<div id="heo-footer" th:if="${not #lists.isEmpty(footMenu)}">
<div class="footer-group" th:each="menuItem : ${footMenu.menuItems}">
<h3 class="footer-title" th:text="${menuItem.status.displayName}"></h3>
<div class="footer-links">
<a class="footer-item" th:each="childMenu : ${menuItem.children}"
th:href="@{${childMenu.status.href}}"
th:text="${childMenu.status.displayName}">
</a>
</div>
</div>
</div>
</th:block>
<!-- 底部 banner -->
<div id="footer-section">
<div class="footer-section-links">
<div class="footer-section-left">
<div id="footer-section-tips">
<div class="copyright" th:if="${not #strings.isEmpty(theme.config.basics.siteStartTime)}">
©[[${#strings.arraySplit(theme.config.basics.siteStartTime, '-')[0]}]] - [[${#dates.format(new java.util.Date(),
'yyyy')}]] [[${site.title}]].
<a class="footer-section-link" href="https://halo.run" rel="external nofollow">Power by Halo</a>
<a class="footer-section-link" href="https://github.com/liuzhihang/halo-theme-hao"
rel="external nofollow" target="_blank"> Theme By Hao</a>
</div>
<div class="copyright" th:if="${#strings.isEmpty(theme.config.basics.siteStartTime)}">
©[[${#dates.format(new java.util.Date(), 'yyyy')}]] [[${site.title}]].
<a class="footer-section-link" href="https://halo.run" rel="external nofollow">Power by Halo</a>
<a class="footer-section-link" href="https://github.com/liuzhihang/halo-theme-hao"
rel="external nofollow" target="_blank"> Theme By Hao</a>
</div>
</div>
</div>
<div class="footer-section-right">
<a class="footer-section-link" href="/rss/">订阅</a>
&nbsp;
<a class="footer-banner-link" href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">
[[${theme.config.basics.icp}]]
</a>
&nbsp;&nbsp;
<a class="footer-banner-link" target="_blank"
th:href="@{'http://www.beian.gov.cn/portal/registerSystemInfo'}"> [[${theme.config.basics.gongan}]]
</a>
&nbsp;&nbsp;
<a class="footer-section-link cc" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="cc协议">
<i class="fa-solid fa-closed-captioning"></i>
</a>
</div>
</div>
</div>
<!-- 暂时不需要弹窗 -->
<!--<div id="introduction-window">-->
<!-- <div class="introduction-window-title" th:text="${theme.config.snackbar.introductionTitle}"></div>-->
<!-- <div class="introduction-window-content">-->
<!-- <span class="introduction-tip" th:text="${theme.config.snackbar.introductionTip}"></span>-->
<!-- <a class="introduction-link" target="_blank" title="点击查看"-->
<!-- th:href="@{${theme.config.snackbar.introductionUrl}}">-->
<!-- <i class="iconfont icon-arrow-circle-right"></i>-->
<!-- </a>-->
<!-- </div>-->
<!--</div>-->
<!--<div id="quit-box" onclick="RemoveRewardMask()"></div>-->
</footer>
</html>