wezm.net/layouts/default.html

20 lines
664 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
2009-11-09 23:42:38 +00:00
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=600" />
<title><%= @item[:title] %></title>
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
2009-11-09 23:42:38 +00:00
</head>
<body class="article">
2009-11-22 06:11:43 +00:00
<%= render 'header' %>
<h1><a href="<%= @item.reps.first.path %>"><%= @item[:title] %></a></h1>
<div id="content">
2009-11-09 23:42:38 +00:00
<%= yield %>
</div>
2009-11-22 06:11:43 +00:00
<%= render 'footer' %>
2009-11-09 23:42:38 +00:00
</body>
</html>