Forcing Telegram previews out of sight on the new previews.
This commit is contained in:
parent
008f06410b
commit
e0a192d748
@ -8,7 +8,8 @@
|
||||
<meta property="og:title" content="<%= title %>"/>
|
||||
<meta property="og:site_name" content="Burguillos.info" />
|
||||
% my $ogimage = stash 'ogimage';
|
||||
% if (defined $ogimage) {
|
||||
% my $user_agent = stash 'useragent';
|
||||
% if (defined $ogimage && $user_agent !~ /TelegramBot/) {
|
||||
<meta name="image" property="og:image" content="<%= $ogimage %>"/>
|
||||
% } else {
|
||||
<meta name="image" property="og:image" content="https://burguillos.info/img/burguillos.png">
|
||||
|
Loading…
Reference in New Issue
Block a user