Websites/app/views/application/_open_graph.html.erb
2024-05-02 22:04:43 -05:00

12 lines
806 B
Plaintext

<meta property="og:title" content="<%= defined?(og_title) ? title : page_title %> %>">
<meta property="og:site_name" content="<%= defined?(og_site_name) ? og_site_name : (defined?(og_title) ? og_title : page_title) %>">
<meta property="og:description" content="<%= og_description %>">
<meta property="og:url" content="https://<%= domain %>">
<meta property="og:type" content="website">
<meta property="og:image" content="<%= og_image %>">
<meta property="og:image:secure_url" content="<%= defined?(og_image_secure) ? og_image_secure : og_image %>">
<meta property="og:image:type" content="<%= og_image_type %>">
<meta property="og:image:width" content="<%= og_image_width %>">
<meta property="og:image:height" content="<%= og_image_height %>">
<meta property="og:image:alt" content="<%= og_image_alt %>">