wezm.net/v1/layouts/topphoto.html

25 lines
751 B
HTML
Raw Permalink 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' %>
<div class=" archive-banner">This is an old version of my website with posts from 20032019. For newer posts <a href="/v2/">visit the new version</a>.</div>
2014-12-18 11:22:12 +00:00
<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>