summaryrefslogtreecommitdiffstats
path: root/_layouts/post.html
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-14 23:45:14 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-14 23:45:14 +0100
commit8bcb86ea0445e71ee6e109c35654febb9e7e1738 (patch)
tree9156cb94647d4ad7f4f964c1a2b275555d1c52e7 /_layouts/post.html
parentdodal štetje objav pri avtorjih (diff)
downloadsijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar.gz
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar.bz2
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar.lz
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar.xz
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.tar.zst
sijanec.eu-8bcb86ea0445e71ee6e109c35654febb9e7e1738.zip
Diffstat (limited to '_layouts/post.html')
-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 }}