Use nice name where appropriate.
[Sone.git] / src / main / resources / templates / index.html
index dc0b98b..4110320 100644 (file)
@@ -19,7 +19,7 @@
        <div id="posts">
                <%foreach posts post>
                        <div class="post">
-                               <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.name|html></a></div>
+                               <div class="author"><a href="viewSone.html?sone=<% post.sone.id>"><% post.sone.niceName|html></a></div>
                                <div class="text"><% post.text|html></div>
                                <div class="time"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></div>
                        </div>