Skip to content

Commit

Permalink
Fix jQuery fot Ghost 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Sep 22, 2015
1 parent a9bfaa7 commit 2ec708d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@
{{! Ghost Footer }}
{{ghost_foot}}

<!-- Compatibility for Ghost 0.7.0: http://dev.ghost.org/no-more-jquery/ -->
<script type="text/javascript">
if (typeof jQuery == 'undefined') {
document.write('<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></'+'script>');
}
</script>

{{! The main JavaScript file }}
<script type="text/javascript" src="{{asset "js/main.js"}}"></script>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Vno",
"version": "0.0.1"
"version": "0.1.0"
}

0 comments on commit 2ec708d

Please sign in to comment.