diff options
Diffstat (limited to 'youtube/templates/comments.html')
| -rw-r--r-- | youtube/templates/comments.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube/templates/comments.html b/youtube/templates/comments.html index 7bd75e5..4728a0a 100644 --- a/youtube/templates/comments.html +++ b/youtube/templates/comments.html @@ -3,13 +3,13 @@ {% macro render_comment(comment, include_avatar, timestamp_links=False) %} <div class="comment-container"> <div class="comment"> - <a class="author-avatar" href="{{ comment['author_url'] }}" title="{{ comment['author'] }}"> + <a class="author-avatar" href="{{ comment['author_url'] or '#' }}" title="{{ comment['author'] }}"> {% if include_avatar %} <img class="author-avatar-img" alt="{{ comment['author'] }}" src="{{ comment['author_avatar'] }}"> {% endif %} </a> <address class="author-name"> - <a class="author" href="{{ comment['author_url'] }}" title="{{ comment['author'] }}">{{ comment['author'] }}</a> + <a class="author" href="{{ comment['author_url'] or '#' }}" title="{{ comment['author'] }}">{{ comment['author'] }}</a> </address> <a class="permalink" href="{{ comment['permalink'] }}" title="permalink"> <span>{{ comment['time_published'] }}</span> |
