Improving the image format.
This commit is contained in:
parent
12cc7fde6d
commit
fac947d104
@ -20,7 +20,9 @@
|
|||||||
% my $user_agent = stash 'useragent';
|
% my $user_agent = stash 'useragent';
|
||||||
|
|
||||||
% if (defined $ogimage) {
|
% if (defined $ogimage) {
|
||||||
<meta name="image" property="og:image" content="<%=$base_url%><%= $ogimage %>?v=3"/>
|
<meta name="image" property="og:image" content="<%=$base_url%><%= $ogimage %>?v=3"/>
|
||||||
|
<meta property="og:image:width" content="1200"/>
|
||||||
|
<meta property="og:image:height" content="630"/>
|
||||||
<meta name="twitter:image" content="<%=$ogimage%>" />
|
<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">
|
||||||
|
Loading…
Reference in New Issue
Block a user