mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
24 lines
1.2 KiB
HTML
24 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<th:block
|
|
th:insert="~{common/layout :: layout (title = ${title} + ' - ' + ${site.title}, canonical = @{/friends}, content = ~{::content}, isPost = true)}"
|
|
th:with="isJournals = true, enableShare = false, baseEnableComment = false"
|
|
xmlns:th="https://www.thymeleaf.org">
|
|
<th:block th:fragment="content">
|
|
<div class="widget card friends" th:each="friend : ${friends.items}" th:with="spec = ${friend.spec}">
|
|
<div class="card-content main">
|
|
<h2 class="title"><a th:href="${spec.postLink}" target="_blank" th:text="${spec.title}"></a></h2>
|
|
<div class="main-content not-toc" th:text="${spec.description}"></div>
|
|
<hr/>
|
|
<div class="meta">
|
|
<a class="has-link-grey" th:href="${spec.authorUrl}" target="_blank">
|
|
<img th:if="${!#strings.isEmpty(spec.logo)}" th:src="${spec.logo}" alt="avatar">
|
|
<span th:text="${spec.author}"></span>
|
|
</a>
|
|
<em th:text="'发表于 ' + ${#dates.format(spec.pubDate,'yyyy年MM月dd日 HH:mm:ss')}"></em>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:replace="~{main/pagination :: pagination (${friends}, '/friends')}"/>
|
|
</th:block>
|
|
</th:block>
|