Bookmark: Display 'via' link.

Change-Id: I71f72c0034319618493137672bf8bf4c46838e09
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 @@
   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 @@
   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>