Permalink
Browse files

Allows author setting to be optional.

closes #7
  • Loading branch information...
1 parent b2cb716 commit 85c6d72e7fdcb2cf1c5da5cf6afbf79c144f46a3 @aeslaughter aeslaughter committed on GitHub Jul 20, 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 85c6d72

Please sign in to comment.