diff --git a/templates/article.html b/templates/article.html index d22ae86..1238e47 100644 --- a/templates/article.html +++ b/templates/article.html @@ -25,8 +25,6 @@ {% set auth_str = [] %} {% for auth in article.authors %} {{ auth_str.append('%s'|format(SITEURL, auth.url, auth)|safe) or ''}} - {% else %} - {{ auth_str.append('%s'|format(SITEURL, article.author.url, article.author)|safe) or ''}} {% endfor %} {% set auth_str = ' by ' ~ auth_str|join(', ') %} {% endif %} diff --git a/templates/index.html b/templates/index.html index 2986809..fcf99c7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -23,8 +23,6 @@ {% set auth_str = [] %} {% for auth in article.authors %} {{ auth_str.append('%s'|format(SITEURL, auth.url, auth)|safe) or ''}} - {% else %} - {{ auth_str.append('%s'|format(SITEURL, article.author.url, article.author)|safe) or ''}} {% endfor %} {% set auth_str = ' by ' ~ auth_str|join(', ') %} {% endif %}