1
0
Fork 1
mirror of https://github.com/wezm/wezm.net.git synced 2024-12-24 04:59:53 +00:00
wezm.net/layouts/topphoto.html

24 lines
590 B
HTML
Raw Normal View History

2014-12-18 11:22:12 +00:00
<!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' %>
<img src="<%= @item[:photo] %>" alt="<%= @item[:photo_alt] %>" class="cover-photo" />
<div id="content">
2018-08-18 07:49:02 +00:00
<h1><a href="<%= @item.reps[:default].path %>"><%=h @item[:title] %></a></h1>
2014-12-18 11:22:12 +00:00
<%= yield %>
</div>
<%= render '_footer' %>
</body>
</html>