Files
halo-theme-pix/templates/landing.html
T
2026-03-10 17:17:32 +08:00

95 lines
5.0 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org"
th:with="_title = ${singlePage.spec.title + ' - ' + site.title},
site_title = ${not #strings.isEmpty(_title) ? _title : #strings.isEmpty(site.subtitle) ? site.title : site.title +' - ' +site.subtitle }">
<head>
<th:block th:replace="~{modules/head :: head}"></th:block>
</head>
<body
class="page-template page-template-page page-template-landpage page-template-pagelandpage-php page mod_third normal">
<th:block th:if="${theme.config.landing_set.land_type == 'card' } ">
<div class="land_page" th:classappend="(${theme.config.landing_set.land_dark ? 'darkl' : ''})"
uk-height-viewport="offset-top: true">
<div class="land_content">
<div class="land_left"
th:style="${'background-image:url('+theme.config.landing_set.land_feature+')'}"></div>
<div class="land_right uk-animation-slide-bottom-small">
<div class="land_logo"><img th:src="${theme.config.landing_set.land_logo}"></div>
<div class="title">
<p>
[[${theme.config.landing_set.land_title}]]
</p>
</div>
<div class="land_des">
<th:block th:utext="${theme.config.landing_set.land_des}"></th:block>
</div>
<div class="land_nav">
<a th:each="land_btn,iterStat : ${theme.config.landing_set.land_btn}"
th:class="'bt_'+iterStat.index" th:href="${land_btn.link}"
th:target="${land_btn.open_new}">
<i th:class="${land_btn.icon}"></i><span>[[${land_btn.name}]]</span>
</a>
</div>
<div class="footer">
<div class="beian"><a href="" class="beian" target="_blank"></a></div>
<div class="copyright">
[[${theme.config.landing_set.land_diy}]]
</div>
</div>
</div>
</div>
</div>
</th:block>
<th:block th:if="${theme.config.landing_set.land_type == 'simple' } ">
<div class="land_page sim" th:classappend="(${theme.config.landing_set.land_dark ? 'darkl' : ''})"
uk-height-viewport="offset-top: true">
<div class="land_content">
<div class="land_top"
th:style="${'background-image:url('+theme.config.landing_set.land_feature+')'}">
<div class="land_meta">
<div class="land_logo"><img th:src="${theme.config.landing_set.land_logo}"></div>
<div class="title">
[[${theme.config.landing_set.land_title}]]
</div>
</div>
</div>
<div class="land_bottom">
<div class="land_des">
<th:block th:utext="${theme.config.landing_set.land_des}"></th:block>
</div>
<div class="land_nav">
<a th:each="land_btn,iterStat : ${theme.config.landing_set.land_btn}"
th:class="'bt_'+iterStat.index" th:href="${land_btn.link}"
th:target="${land_btn.open_new}">
<i th:class="${land_btn.icon}"></i><span>[[${land_btn.name}]]</span>
</a>
</div>
<div class="diy_html">
<th:block th:utext="${theme.config.landing_set.land_html}"></th:block>
</div>
<div class="footer">
<div class="beian"><a href="" class="beian" target="_blank"></a></div>
<div class="copyright">
[[${theme.config.landing_set.land_diy}]]
</div>
</div>
</div>
</div>
</div>
</th:block>
<th:block th:replace="~{modules/footer}"></th:block>
</body>
</html>