summaryrefslogtreecommitdiffstats
path: root/_layouts
diff options
context:
space:
mode:
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/post.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html
index 3003a33..a2b42bd 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -45,3 +45,21 @@ layout: default
{{ return }}.
</div>
{% endif %}
+
+<hr>
+<h2>
+ kometarji
+</h2>
+{% assign argv = "" | split: "," %}
+{% assign postid = "post|" | append: page.url %}
+{% assign argv = argv | unshift: postid %} <!-- unshift doda na zač. arraya -->
+{% capture commentsthreadhtml %}
+ {% include commentsthread.html %} <!-- outputs html directly -->
+{% endcapture %}
+<h3>
+ {{ return }}
+ {% assign argv = ",komentarjev,komentar,komentarja,komentarji" | prepend: return | split: "," %}
+ {% include slnum.html %}
+ {{ return }}
+</h3>
+{{ commentsthreadhtml }}