summaryrefslogtreecommitdiffstats
path: root/_layouts/author.html
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
committersijanec <sijanecantonluka@gmail.com>2020-11-07 01:24:59 +0100
commit6c93a756fea3df39f19a02e088992a79a0711852 (patch)
tree80ffcddb9851859724321cf78b95e0d4ef04551a /_layouts/author.html
parentpopravil linke (diff)
downloadsijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.gz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.bz2
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.lz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.xz
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.tar.zst
sijanec.eu-6c93a756fea3df39f19a02e088992a79a0711852.zip
Diffstat (limited to '_layouts/author.html')
-rw-r--r--_layouts/author.html11
1 files changed, 3 insertions, 8 deletions
diff --git a/_layouts/author.html b/_layouts/author.html
index 7c5cddc..44e62e5 100644
--- a/_layouts/author.html
+++ b/_layouts/author.html
@@ -11,14 +11,9 @@ layout: default
<h2>objave:</h2>
<ul>
- {% assign filtered_posts = site.posts | where: "author", page.short_name %}
- {% assign author_not_specified = site.posts | where: 'author', nil %}
- {% if page.short_name == "anonymous" %}
- {% assign filtered_posts =
- author_not_specified | concat: filtered_posts %}
- {% endif %}
- {% assign filtered_posts = filtered_posts | sort: "date" | reverse %}
- {% for post in filtered_posts %}
+ {% assign argv = page.short_name | split: "," %}
+ {% include posts_by_author.html %}
+ {% for post in return %}
<li>
<a href="{{ post.url | remove: ".html" }}">
{{ post.title }} @ {{ post.date | date: site.short_date_format }}