Skip to content

Commit

Permalink
Default URL for Avatar.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 12, 2011
1 parent d96630c commit 9f2707c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Changes
Expand Up @@ -7,6 +7,8 @@ Revision history for Perl extension PGXN::Site
- Changed tags on home page to all be the same size and color. Just for
now, while there are a limited number of tags all with only one
associated distribution. It looks awful when they're all huge and red.
- Using the user's profile page for the Gravatar link URL if the user
has specified no URL.

0.4.0 2011-04-11T23:41:16
- Updated tag cloud and recent releases code to rely on the new files
Expand Down
2 changes: 1 addition & 1 deletion lib/PGXN/Site/Templates.pm
Expand Up @@ -630,7 +630,7 @@ template user => sub {
class is 'gradient meta vcard';
a {
class is 'avatar';
href is $user->uri;
href is $user->uri || $req->uri->path;
img {
src is gravatar_url(
rating => 'pg',
Expand Down

0 comments on commit 9f2707c

Please sign in to comment.