summaryrefslogtreecommitdiffstats
path: root/_layouts/author.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/author.html')
-rw-r--r--_layouts/author.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/_layouts/author.html b/_layouts/author.html
index 226f1bb..3b8e2fd 100644
--- a/_layouts/author.html
+++ b/_layouts/author.html
@@ -10,10 +10,16 @@ layout: default
{{ content }}
<h2>objave:</h2>
+{% assign argv = page.short_name | split: "," %}
+{% include posts_by_author.html %}
+{% assign posts_by_author = return %}
+<h3>
+ {% assign argv = ",objav,objava,objavi,objave" | prepend: posts_by_author.size | split: "," %}
+ {% include slnum.html %}
+ {{ posts_by_author.size }} {{ return }}
+</h3>
<ul>
- {% assign argv = page.short_name | split: "," %}
- {% include posts_by_author.html %}
- {% for post in return %}
+ {% for post in posts_by_author %}
<li>
<a href="{{ post.url }}">
{{ post.title }} @ {{ post.date | date: site.short_date_format }}