first work on rendering
[stapibas.git] / data / templates / default / mentions.htm
diff --git a/data/templates/default/mentions.htm b/data/templates/default/mentions.htm
new file mode 100644 (file)
index 0000000..7f57d32
--- /dev/null
@@ -0,0 +1,17 @@
+{% if arData.comments %}
+<h3 id="m-comments">Comments</h3>
+<ul class="m-container m-comments">
+ {% for commentRow in arData.comments %}
+   {% include 'mentions-comment.htm' %}
+ {% endfor %}
+</ul>
+{% endif %}
+
+{% if arData.links %}
+<h3 id="m-links">Links to this page</h3>
+<ul class="m-container m-links">
+ {% for linkRow in arData.links %}
+   <li>{% include 'mentions-link.htm' %}</li>
+ {% endfor %}
+</ul>
+{% endif %}