Compare commits

...

3 Commits

Author SHA1 Message Date
29426e1483 2.10.7 2019-08-22 07:31:34 +05:30
f5bba69235 Remove unused conditional
Closes #593
2019-08-21 13:53:47 +08:00
788ee59fd4 Improve gulp globbing (#598) 2019-08-21 13:51:43 +08:00
3 changed files with 3 additions and 5 deletions

View File

@ -75,9 +75,7 @@
</script>
<script type="text/javascript" src="{{asset "built/jquery.fitvids.js"}}"></script>
{{#if pagination.pages}}
<script src="{{asset "built/infinitescroll.js"}}"></script>
{{/if}}
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{block "scripts"}}}

View File

@ -31,7 +31,7 @@ const handleError = (done) => {
function hbs(done) {
pump([
src(['*.hbs', 'partials/**/*.hbs', '!node_modules/**/*.hbs']),
src(['*.hbs', 'partials/**/*.hbs']),
livereload()
], handleError(done));
}
@ -79,7 +79,7 @@ function zipper(done) {
}
const cssWatcher = () => watch('assets/css/**', css);
const hbsWatcher = () => watch(['*.hbs', 'partials/**/*.hbs', '!node_modules/**/*.hbs'], hbs);
const hbsWatcher = () => watch(['*.hbs', 'partials/**/*.hbs'], hbs);
const watcher = parallel(cssWatcher, hbsWatcher);
const build = series(css, js);
const dev = series(build, serve, watcher);

View File

@ -2,7 +2,7 @@
"name": "casper",
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
"demo": "https://demo.ghost.io",
"version": "2.10.6",
"version": "2.10.7",
"engines": {
"ghost": ">=2.0.0",
"ghost-api": "v2"