Permalink
Browse files

Fix og:image and use gravatar mystery man for default for now.

  • Loading branch information...
Osmose committed Feb 13, 2013
1 parent 08ac4d6 commit 9c309a6f126e2ffa4b793db562697c7b09498f8d
Showing with 2 additions and 2 deletions.
  1. +1 −1 flicks/base/templates/bare.html
  2. +1 −1 flicks/users/helpers.py
@@ -15,7 +15,7 @@
{# OpenGraph Metadata #}
<meta property="og:title" content="{% block og_title %}{{ _('Firefox Flicks') }}{% endblock %}">
<meta property="og:type" content="{% block og_type %}website{% endblock %}">
- <meta property="og:image" content="{% block og_image %}{{ static('img/flicks-logo-180.png') }}{% endblock %}">
+ <meta property="og:image" content="{% block og_image %}{{ absolutify(static('img/flicks-logo-180.png')) }}{% endblock %}">
<meta property="og:url" content="{% block og_url %}{{ request.build_absolute_uri() }}{% endblock %}">
<meta property="og:site_name" content="{{ _('Firefox Flicks') }}">
{% block meta_description -%}
View
@@ -27,7 +27,7 @@ def gravatar_url(arg, size=80):
'url': GRAVATAR_URL,
'email_hash': md5_constructor(email.lower()).hexdigest(),
'options': urllib.urlencode({'s': str(size),
- 'default': DEFAULT_GRAVATAR})
+ 'd': 'mm'})
}
return url

0 comments on commit 9c309a6

Please sign in to comment.