summaryrefslogtreecommitdiff
path: root/src/main/resources/templates/PostResource
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2025-07-05 17:04:43 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2025-07-05 17:11:10 +0200
commitd1af4fe5758f95152a725fdc6c08adf6b430375f (patch)
tree2f3820527e54dd47779870ef90859e9a0ce314bb /src/main/resources/templates/PostResource
parent4ec4224e491341a3f26f4441abc9e3c28070ca58 (diff)
Bookmark: Display 'via' link.
Change-Id: I71f72c0034319618493137672bf8bf4c46838e09
Diffstat (limited to 'src/main/resources/templates/PostResource')
-rw-r--r--src/main/resources/templates/PostResource/postList.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/resources/templates/PostResource/postList.html b/src/main/resources/templates/PostResource/postList.html
index 935b813..296b93d 100644
--- a/src/main/resources/templates/PostResource/postList.html
+++ b/src/main/resources/templates/PostResource/postList.html
@@ -84,7 +84,11 @@
<span class="comment-box-self-link">({post.comments.size()})</span>
</a>
{/if}
-
+ {#if post.via}
+ <a class="via-link" href="{post.via}">
+ <span class="via-self-link">(via)</span>
+ </a>
+ {/if}
<a href="{post.uri}" class="bookmark-title">
<h2 class="bookmark-title"><span class="bookmark-symbol">🔖 </span> {post.titleWithSentenceEnder}</h2>
</a>