Add permalinks for posts and authors.
[Sone.git] / src / main / resources / templates / include / viewPost.html
index 4be1bcc..40fa891 100644 (file)
                                </form>
                        </div>
                        <span class='separator'>·</span>
+                       <div class="permalink"><a href="post://<%post.id|html>">[<%= View.Post.Permalink|l10n|html>]</a></div>
+                       <span class='separator'>·</span>
+                       <div class="permalink"><a href="sone://<%post.sone.id|html>">[<%= View.Post.PermalinkAuthor|l10n|html>]</a></div>
+                       <span class='separator'>·</span>
                        <div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
                        <%if ! originalText|match key=parsedText>
                                <span class='separator'>·</span>