diff options
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r-- | src/main/resources/templates/NewsletterSender/newsletter.txt | 3 | ||||
-rw-r--r-- | src/main/resources/templates/PostResource/postList.html | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/main/resources/templates/NewsletterSender/newsletter.txt b/src/main/resources/templates/NewsletterSender/newsletter.txt index f70673e..4e2f395 100644 --- a/src/main/resources/templates/NewsletterSender/newsletter.txt +++ b/src/main/resources/templates/NewsletterSender/newsletter.txt @@ -19,6 +19,9 @@ New Bookmarks {#for post in bookmarks} * {post.date.humanDate} <https://matthias.benkard.de/posts/{post.id}> +{#if post.via} +* Via: <{post.via}> +{/if} * {post.title} * <{post.uri}> 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> |