Skip to content

Commit

Permalink
Don't print a link if it's empty [closes #2]
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed May 19, 2012
1 parent 9ee806b commit 6c9de08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comment_template.html
Expand Up @@ -9,7 +9,7 @@ <h1>{{page.comment_count}} Comments</h1>
{% for c in page.comments %}
<div class="comment {% cycle 'odd', 'even' %}">
<p class="comment_header">
From: {% if c.link %}
From: {% if c.link and c.link != '' %}
<a href="{{c.link}}">{{c.name}}</a>
{% else %}
{{c.name}}
Expand Down

0 comments on commit 6c9de08

Please sign in to comment.