46 lines
2.1 KiB
HTML
46 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:th="https://www.thymeleaf.org"
|
|
th:replace="~{modules/layout :: html(title = |#{page.links.title} - ${site.title}|, header = null, content = ~{::content}, footer = null)}">
|
|
<th:block th:fragment="content">
|
|
<article class="post">
|
|
<header>
|
|
<h1 class="post-title"
|
|
th:with="title=${theme.config.links_page.title ?: #messages.msg('page.links.title')}"
|
|
th:text="${title}">
|
|
Links
|
|
</h1>
|
|
</header>
|
|
<section class="post-content link-section" th:each="group : ${groups}">
|
|
<div class="link-section-header">
|
|
<h2 th:text="${!#strings.isEmpty(group.spec.displayName) ? group.spec.displayName : #messages.msg('page.links.title')}">
|
|
Links
|
|
</h2>
|
|
</div>
|
|
<table class="link-table">
|
|
<tbody>
|
|
<tr th:each="link : ${group.links}">
|
|
<td>
|
|
<a th:href="${link.spec.url}" target="_blank" class="link-item">
|
|
<div class="link-container">
|
|
<div class="link-logo-wrap">
|
|
<img class="link-logo" src="" th:src="${link.spec.logo}"
|
|
th:alt="${link.spec.displayName}" loading="lazy">
|
|
</div>
|
|
<div class="link-content">
|
|
<div class="link-title">
|
|
<span class="link-name" th:text="${link.spec.displayName}"></span>
|
|
<span class="link-url" th:text="|(${link.spec.url})|"></span>
|
|
</div>
|
|
<div class="link-description" th:text="${link.spec.description}"></div>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</article>
|
|
</th:block>
|
|
</html>
|