diff options
-rw-r--r-- | mediagoblin/templates/mediagoblin/utils/profile.html | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/mediagoblin/templates/mediagoblin/utils/profile.html b/mediagoblin/templates/mediagoblin/utils/profile.html index 72a285d2..cd60bbfc 100644 --- a/mediagoblin/templates/mediagoblin/utils/profile.html +++ b/mediagoblin/templates/mediagoblin/utils/profile.html @@ -17,17 +17,19 @@ #} {% block profile_content -%} - <div class="profile_content"> - {% if user.url %} - <p class="profile_homepage"> - <a href="{{ user.url }}">homepage</a> - </p> - {% endif %} + {% if user.url or user.bio %} + <div class="profile_content"> + {% if user.url %} + <div class="profile_homepage"> + <a href="{{ user.url }}">{{ user.url }}</a> + </div> + {% endif %} - {% if user.bio %} - <p class="profile_bio"> - {{ user.bio }} - </p> - {% endif %} - </div> + {% if user.bio %} + <div class="profile_bio"> + {{ user.bio }} + </div> + {% endif %} + </div> + {% endif %} {% endblock %} |