wezm.net/layouts/default.html
2018-08-18 17:49:02 +10:00

20 lines
500 B
HTML

<!DOCTYPE html>
<html>
<head>
<%= render '_head' %>
<script type="text/javascript">
jQuery(function() {
// Enable light box
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
});
</script>
</head>
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
<%= render '_header' %>
<div id="content">
<h1><a href="<%= @item.reps[:default].path %>"><%=h @item[:title] %></a></h1>
<%= yield %>
</div>
<%= render '_footer' %>
</body>
</html>