42 lines
3.5 KiB
HTML
Raw Normal View History

2023-03-22 17:52:21 +08:00
<footer class="footer" xmlns:th="https://www.thymeleaf.org">
2023-03-21 10:49:35 +08:00
<div class="container">
2024-02-12 08:23:19 +08:00
<ul th:class="${theme.config.basic_info.footer_center} ? 'footer-container footer-center' : 'footer-container'">
2023-03-21 10:49:35 +08:00
<li>
2023-03-22 17:52:21 +08:00
<a class="logo-title" th:href="${site.url}">
<th:block th:if="${#strings.isEmpty(site.logo)}" th:text="${site.title}"/>
<th:block th:unless="${#strings.isEmpty(site.logo)}">
<img class="logo-img" th:src="${site.logo}" th:alt="${site.title}" height="28">
<img class="logo-img-dark" th:src="${#strings.defaultString(theme.config.basic_info.night_logo, site.logo)}" th:alt="${site.title}" height="28">
2023-03-22 17:52:21 +08:00
</th:block>
</a>
2023-03-21 10:49:35 +08:00
</li>
<li>
2023-03-22 17:52:21 +08:00
<p class="icon-spot">
<span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '+ ${site.title}"></span><a
2023-03-22 17:52:21 +08:00
th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}"
href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"
th:text="${theme.config.basic_info.record_number}"></a><span th:unless="${theme.config.basic_info.footer_hide_theme_info}" class="footer-truncation">Powered by <a class="powered" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/nineya/halo-theme-dream2.0" target="_blank">Dream</a></span></p>
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.website_time) || theme.config.enhance.enable_busuanzi == true}">
2023-03-22 17:52:21 +08:00
<span th:if="${!#strings.isEmpty(theme.config.basic_info.website_time)}" id="websiteDate">建站<span class="stand">00</span><span class="stand">0</span><span class="stand">0</span><span class="stand">0</span></span>
<span th:if="${theme.config.enhance.enable_busuanzi == true}" class="icon-spot footer-truncation">
2023-03-21 10:49:35 +08:00
<span id="busuanzi_container_site_uv" style="display: none">
2023-09-12 10:44:43 +08:00
<i class="ri-account-circle-line" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_uv">0</span>访客
2023-03-22 17:52:21 +08:00
</span>
2023-03-21 10:49:35 +08:00
<span id="busuanzi_container_site_pv" style="display: none">
2023-09-12 10:44:43 +08:00
<i class="ri-pie-chart-line" aria-hidden="true"></i><span class="stand" id="busuanzi_value_site_pv">0</span>访问
2023-03-22 17:52:21 +08:00
</span>
2023-03-21 10:49:35 +08:00
</span>
2023-03-22 17:52:21 +08:00
</p>
<p th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps)}"><a th:href="'https://beian.mps.gov.cn/#/query/webSearch?code=' + ${theme.config.basic_info.record_number_ps.replaceAll('[^\d]', '')}" target="_blank" rel="noopener noreferrer nofollow"><img
th:src="${#theme.assets('/img/ga.png')}" alt="公网安备" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number_ps}]]</a></p>
2023-03-22 17:52:21 +08:00
<p th:if="${!#strings.isEmpty(theme.config.basic_info.cloud_by_logo)}">本站由<a
class="cloud-driven" target="_blank" rel="noopener noreferrer nofollow" th:href="${theme.config.basic_info.cloud_by_url}"><img
alt="云服务商" th:src="${theme.config.basic_info.cloud_by_logo}"/></a>提供云服务</p>
2023-03-21 10:49:35 +08:00
</li>
<li>
2023-03-22 17:52:21 +08:00
<halo:footer />
2023-03-21 10:49:35 +08:00
</li>
</ul>
</div>
</footer>