This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/shared/render_share.html.erb

15 lines
436 B
Plaintext

<!DOCTYPE HTML>
<html>
<head>
<meta property="og:title" content="<%= @object.title %>" />
<meta property="og:description" content="<%= strip_tags @object.subtitle %>" />
<meta property="og:image" content="<%= ('http://' + request.env['HTTP_HOST'] + @object.image.url) unless @object.image.blank? %>" />
<script type="text/javascript">
<!--
window.location = "<%= @orig_url %>"
//-->
</script>
</head>
<body>
</body>
</html>