41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<% if @short_url %>
|
|
<link rev="canonical" rel="self alternate shorter shorturl shortlink"
|
|
href="<%= @short_url %>" />
|
|
<% end %>
|
|
<title><%= @title.present? ? "#{@title} | Lobsters" : "Lobsters" %></title>
|
|
<%= stylesheet_link_tag "application", :media => "all" %>
|
|
<%= javascript_include_tag "application" %>
|
|
<%= csrf_meta_tags %>
|
|
<% if @rss_link %>
|
|
<%= raw(@rss_link) %>
|
|
<% end %>
|
|
<% if @user %>
|
|
<script>
|
|
Lobsters.curUser = '<%= @user.id %>';
|
|
</script>
|
|
<% end %>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<%= render :partial => "global/header" %>
|
|
|
|
<div id="inside">
|
|
<% if flash[:error] %>
|
|
<div class="flash-error"><%= flash[:error] %></div>
|
|
<% elsif flash[:success] %>
|
|
<div class="flash-success"><%= flash[:success] %></div>
|
|
<% end %>
|
|
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|