Trying to refresh facebook cache again.

This commit is contained in:
Sergiotarxz 2023-09-19 17:41:21 +02:00
parent d75decd6c9
commit eea6a8e9aa

View File

@ -23,12 +23,12 @@
% say STDERR $ogimage; % say STDERR $ogimage;
% my $user_agent = stash 'useragent'; % my $user_agent = stash 'useragent';
<meta property="og:url" content="<%=$base_url%><%= url_for %>?v=123"/>
% if (defined $ogimage) { % if (defined $ogimage) {
% my $url_for = url_for || ''; % my $url_for = url_for || '';
<meta itemprop="image" property="og:image" content="<%= $ogimage %>"/> <meta itemprop="image" property="og:image" content="<%= $ogimage %>"/>
<meta name="image" content="<%= $ogimage %>"/> <meta name="image" content="<%= $ogimage %>?v=1"/>
<meta property="og:url" content="<%=$base_url%><%= url_for %>?v=500"/> <meta name="twitter:image" content="<%=$ogimage%>?v=1" />
<meta name="twitter:image" content="<%=$ogimage%>" />
% } else { % } else {
<meta name="image" property="og:image" content="<%=$base_url%>/img/burguillos.webp?v=4"> <meta name="image" property="og:image" content="<%=$base_url%>/img/burguillos.webp?v=4">
<meta name="twitter:image" content="<%=$base_url%>/img/burguillos.webp?v=4"> <meta name="twitter:image" content="<%=$base_url%>/img/burguillos.webp?v=4">