mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 20:09:41 +08:00
fix(photo): 修复瞬间图片换行问题,#102
This commit is contained in:
parent
67bb3e25ef
commit
2d38a7734c
@ -12,8 +12,8 @@
|
||||
<div class="journal-content fold">
|
||||
<div class="main-content not-toc" data-target="Moment" th:data-id="${moment.metadata.name}">
|
||||
[(${moment.spec.content.html})]
|
||||
<mew-photos th:if="${!#lists.isEmpty(moment.spec.content.medium)}" th:each="momentItem : ${moment.spec.content.medium}">
|
||||
<img th:if="${momentItem.type.name == 'PHOTO'}" th:src="${momentItem.url}" />
|
||||
<mew-photos th:if="${!#lists.isEmpty(moment.spec.content.medium)}">
|
||||
<img th:each="momentItem : ${moment.spec.content.medium}" th:if="${momentItem.type.name == 'PHOTO'}" th:src="${momentItem.url}" />
|
||||
</mew-photos>
|
||||
<th:block th:if="${!#lists.isEmpty(moment.spec.content.medium)}" th:each="momentItem : ${moment.spec.content.medium}">
|
||||
<mew-video th:if="${momentItem.type.name == 'VIDEO'}" th:src="${momentItem.url}"></mew-video>
|
||||
|
Loading…
x
Reference in New Issue
Block a user