forked from wezm/wezm.net
Fix lightbox on home page
This commit is contained in:
parent
b98a36817c
commit
46ae61c82b
3 changed files with 8 additions and 4 deletions
|
@ -45,5 +45,6 @@ base_url: 'http://www.wezm.net'
|
||||||
deploy:
|
deploy:
|
||||||
default:
|
default:
|
||||||
dst: "wezm@www.wezm.net:www"
|
dst: "wezm@www.wezm.net:www"
|
||||||
options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
|
#options: [ '-rlpgoDvz', '--delete', '--exclude=".svn"' ]
|
||||||
|
options: [ '-avz', '--delete', '--exclude=".svn"' ]
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<%= render '_head' %>
|
<%= render '_head' %>
|
||||||
|
<script type="text/javascript">
|
||||||
|
jQuery(function() {
|
||||||
|
// Enable light box
|
||||||
|
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
|
<body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>>
|
||||||
<%= render '_header' %>
|
<%= render '_header' %>
|
||||||
|
|
|
@ -44,7 +44,4 @@ jQuery(function() {
|
||||||
input.val('');
|
input.val('');
|
||||||
}
|
}
|
||||||
$('#search').show();
|
$('#search').show();
|
||||||
|
|
||||||
// Enable light box
|
|
||||||
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue