summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/META-INF/resources/cms2/base.css4
-rw-r--r--src/main/resources/templates/PostResource/postList.html6
2 files changed, 7 insertions, 3 deletions
diff --git a/src/main/resources/META-INF/resources/cms2/base.css b/src/main/resources/META-INF/resources/cms2/base.css
index 0cec83c..998d453 100644
--- a/src/main/resources/META-INF/resources/cms2/base.css
+++ b/src/main/resources/META-INF/resources/cms2/base.css
@@ -326,7 +326,7 @@ a.bookmark-title {
color: #555;
}
-.post-self-link, .comment-self-link, .comment-box-self-link {
+.post-self-link, .comment-self-link, .comment-box-self-link, .via-self-link {
padding-left: 5px;
padding-right: 5px;
}
@@ -382,7 +382,7 @@ article.lazychat-message > header, .comment-info {
line-height: 1em;
}
-a.post-link, a.comment-link, a.comment-box-link {
+a.post-link, a.comment-link, a.comment-box-link, a.via-link {
text-decoration: none;
}
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>