{% if include.article.authorId %} {% assign author = site.people | where_exp:"item","item.uid contains include.article.authorId" | first %} {{author.name}} {% else %} {{ include.article.author }} {% endif %}