Websites/app/views/yiff_rocks/home/preview.html.erb
2024-05-02 22:04:43 -05:00

33 lines
952 B
Plaintext

<% content_for(:html_head) do %>
<!-- Lupines are the best :3 -->
<% description = "A shortened url: #{@short.url}" %>
<%= render "head_images",
manifest_path: yiff_rocks_home_manifest_path(:json)
%>
<%= render "twitter_card",
card_creator: "@Donovan_DMC",
card_description: description,
card_image: image_path("#{assets_path}/Blep.png"),
card_image_alt: "YiffyAPI Icon"
%>
<%= render "dublin_core",
dc_creator: "Donovan_DMC",
dc_description: description
%>
<%= render "open_graph",
og_description: description,
og_image: image_path("#{assets_path}/Blep.png"),
og_image_type: "image/png",
og_image_width: 710,
og_image_height: 710,
og_image_alt: "YiffyAPI Icon"
%>
<% end %>
<h1>
This short url redirects to <%= link_to @short.url, @short.shorturl %>
</h1>