Update moment.html

This commit is contained in:
airbo 2023-04-12 12:36:53 +08:00
parent 2708068a85
commit 3472ffca5e
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@
<div class="swiper-container swiper-no-swiping" id="bbtalk" tabindex="-1">
<div class="swiper-wrapper" id="bber-talk" onclick="location.href='/moments'" th:if="${momentFinder}">
<th:block th:each="moment : ${momentFinder.listAll()}" th:with="content=${moment.spec.content}">
<div class="li-style swiper-slide" th:if="${not #strings.isEmpty(content.raw)}" th:text="${#strings.substringBefore(#strings.substringAfter(content.raw,'<p>'),'</p>')}"></div>
<div class="li-style swiper-slide" th:if="${not #strings.isEmpty(content.html)}" th:text="${#strings.substringBefore(#strings.substringAfter(content.html,'<p>'),'</p>')}"></div>
</th:block>
</div>
</div>
<i class="bber-gotobb fas fa-arrow-circle-right" onclick="location.href='/moments'" title="查看全文"></i>
</div>
</html>
</html>