Skip to content

Commit

Permalink
Give Facebook a square swirly-d for previews
Browse files Browse the repository at this point in the history
...instead of some random commenter's icon

Fixes: #1705
  • Loading branch information
chrisboyle committed Apr 17, 2016
1 parent 6a3956f commit 2a47940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cgi-bin/LJ/S2.pm
Expand Up @@ -2375,6 +2375,9 @@ sub Page
$p->{head_content} .= qq{<link rel="help" href="$LJ::SITEROOT/support/faq" />\n};
$p->{head_content} .= qq{<link rel="apple-touch-icon" href="$LJ::APPLE_TOUCH_ICON" />\n}
if $LJ::APPLE_TOUCH_ICON;
$p->{head_content} .= qq{<meta property="og:image" content="$LJ::IMGPREFIX/Swirly-d-square.png"/>\n};
$p->{head_content} .= qq{<meta property="og:image:width" content="363"/>\n};
$p->{head_content} .= qq{<meta property="og:image:height" content="363"/>\n};
# Identity (type I) accounts only have read views
$p->{views_order} = [ 'read', 'userinfo' ] if $u->is_identity;
# feed accounts only have recent entries views
Expand Down
Binary file added htdocs/img/Swirly-d-square.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2a47940

Please sign in to comment.