Add image to URL previews

This commit is contained in:
swagg boi 2022-07-21 23:16:43 -04:00
parent 962bb2d934
commit cb029962c5
2 changed files with 8 additions and 0 deletions

View file

@ -7,10 +7,14 @@
<meta property="og:description" content="Messages from the World Wide Web"> <meta property="og:description" content="Messages from the World Wide Web">
<meta property="og:url" content="<%= $this_url %>"> <meta property="og:url" content="<%= $this_url %>">
<meta property="og:site_name" content="Swagg::Net::Guestbook"> <meta property="og:site_name" content="Swagg::Net::Guestbook">
<meta property="og:image"
content="https://guestbook.swagg.net/android-chrome-512x512.png">
<meta name="twitter:title" content="Swagg::Net::Guestbook - <%= title %>"> <meta name="twitter:title" content="Swagg::Net::Guestbook - <%= title %>">
<meta name="twitter:description" content="Messages from the World Wide Web"> <meta name="twitter:description" content="Messages from the World Wide Web">
<meta name="twitter:creator" content="@swaggboi@eattherich.club"> <meta name="twitter:creator" content="@swaggboi@eattherich.club">
<meta name="twitter:site" content="Swagg::Net::Guestbook"> <meta name="twitter:site" content="Swagg::Net::Guestbook">
<meta name="twitter:image"
content="https://guestbook.swagg.net/android-chrome-512x512.png">
<meta content="Messages from the World Wide Web" name="description"> <meta content="Messages from the World Wide Web" name="description">
<title>Swagg::Net::Guestbook - <%= title %></title> <title>Swagg::Net::Guestbook - <%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">

View file

@ -8,11 +8,15 @@
<meta property="og:description" content="<%= @$view_post[2] %>"> <meta property="og:description" content="<%= @$view_post[2] %>">
<meta property="og:url" content="<%= $this_url %>"> <meta property="og:url" content="<%= $this_url %>">
<meta property="og:site_name" content="Swagg::Net::Guestbook"> <meta property="og:site_name" content="Swagg::Net::Guestbook">
<meta property="og:image"
content="https://guestbook.swagg.net/android-chrome-512x512.png">
<meta name="twitter:title" <meta name="twitter:title"
content="Swagg::Net::Guestbook - Message #<%= @$view_post[4] %>"> content="Swagg::Net::Guestbook - Message #<%= @$view_post[4] %>">
<meta name="twitter:description" content="<%= @$view_post[2] %>"> <meta name="twitter:description" content="<%= @$view_post[2] %>">
<meta name="twitter:creator" content="@swaggboi@eattherich.club"> <meta name="twitter:creator" content="@swaggboi@eattherich.club">
<meta name="twitter:site" content="Swagg::Net::Guestbook"> <meta name="twitter:site" content="Swagg::Net::Guestbook">
<meta name="twitter:image"
content="https://guestbook.swagg.net/android-chrome-512x512.png">
<meta content="<%= @$view_post[2] %>" name="description"> <meta content="<%= @$view_post[2] %>" name="description">
<title>Swagg::Net::Guestbook - Message #<%= @$view_post[4] %></title> <title>Swagg::Net::Guestbook - Message #<%= @$view_post[4] %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">