mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
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:
|
||||
default:
|
||||
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>
|
||||
<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' %>
|
||||
|
|
|
@ -44,7 +44,4 @@ jQuery(function() {
|
|||
input.val('');
|
||||
}
|
||||
$('#search').show();
|
||||
|
||||
// Enable light box
|
||||
$("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue