blob: c0fbb4c331859e912844b78c55952db9b8b68037 (
plain) (
tree)
|
|
{% comment %} argv: authorname {% endcomment %}
{% assign posts_by_author = site.posts | where: "author", argv[0] %}
{% assign author_not_specified = site.posts | where: 'author', nil %}
{% if argv[0] == "anonymous" %}
{% assign posts_by_author = author_not_specified | concat: posts_by_author %}
{% endif %}
{% assign return = posts_by_author | sort: "date" | reverse %}
|