Permalink
Browse files

Merge pull request #8 from aeslaughter/patch-1

Allows author setting to be optional.
  • Loading branch information...
2 parents b2cb716 + 85c6d72 commit 5e2d5ab49fc551b6becec539b211bfe872ebe836 @yuex committed on GitHub Nov 18, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/macro.html
@@ -252,8 +252,8 @@
{% else %}
{% set author_url = ["/author/",article.author.name,".html"]|join %}
{% endif %}
- {% endif %}
<a href="{{ genurl( author_url ) }}">{{ article.author.name }}</a>
+ {% endif %}
</span>
{% endmacro %}

0 comments on commit 5e2d5ab

Please sign in to comment.