2024-01-22 09:55:33 +08:00
|
|
|
<!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">
|
2024-01-22 12:37:25 +08:00
|
|
|
<div th:if="${theme.config.page_config.enable_friends_stats}" class="card card-content friends">
|
2024-01-22 09:55:33 +08:00
|
|
|
<div class="card-tab">
|
|
|
|
<div>[[${#strings.replace(title, ' - ' + site.title, '')}]]</div>
|
|
|
|
</div>
|
2024-03-26 13:08:06 +08:00
|
|
|
<nav class="level">
|
2024-01-22 09:55:33 +08:00
|
|
|
<div class="level-item">
|
|
|
|
<div>
|
|
|
|
<p class="heading">订阅数</p>
|
2024-03-26 13:08:06 +08:00
|
|
|
<p class="value" th:title="${statistical.friendsNum}" th:text="${statistical.friendsNum}"></p>
|
2024-01-22 09:55:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-item">
|
|
|
|
<div>
|
|
|
|
<p class="heading">订阅成功数</p>
|
2024-03-26 13:08:06 +08:00
|
|
|
<p class="value" th:title="${statistical.activeNum}" th:text="${statistical.activeNum}"></p>
|
2024-01-22 09:55:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="level-item">
|
|
|
|
<div>
|
|
|
|
<p class="heading">订阅文章数</p>
|
2024-03-26 13:08:06 +08:00
|
|
|
<p class="value" th:title="${statistical.articleNum}" th:text="${statistical.articleNum}"></p>
|
2024-01-22 09:55:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2024-01-22 12:37:25 +08:00
|
|
|
<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.link}" 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.url}" 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>
|
2024-01-22 09:55:33 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<th:block th:replace="~{main/pagination :: pagination (${friends}, '/friends')}"/>
|
|
|
|
</th:block>
|
|
|
|
</th:block>
|