mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-27 21:54:27 +01:00
15 lines
647 B
Plaintext
15 lines
647 B
Plaintext
|
<% image = @project.project_image.attachment.medium %>
|
||
|
<% width, height = image.dimensions %>
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html lang="<%= I18n.locale %>" ng-app="application" class="app">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta property="og:title" content="<%= @project.name %>"/>
|
||
|
<meta property="og:description" content="<%= strip_tags(@project.description) %>"/>
|
||
|
<meta property="og:image" content="<%= root_url+image.url %>"/>
|
||
|
<meta property="og:image:width" content="<%= width%>" />
|
||
|
<meta property="og:image:height" content="<%=height%>" />
|
||
|
<meta http-equiv="refresh" content="0;url=<%= root_url+'#!/projects/'+@project.slug %>">
|
||
|
</head>
|
||
|
</html>
|