diff --git a/gulpfile.js b/gulpfile.js index b44a10bb..388a446d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -68,12 +68,16 @@ gulp.task('styles', function () { }); gulp.task('scripts', function () { + app.js([ + 'node_modules/jquery/dist/jquery.js', + config.js.sourceDir + '/**/*.js' + ], 'main.js') + app.js([ 'node_modules/jquery/dist/jquery.js', 'node_modules/prismjs/prism.js', 'node_modules/prismjs/components/prism-{apacheconf,bsash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js', - config.js.sourceDir + '/**/*.js' - ], 'site.js') + ], 'post.js') }); gulp.task('watch', ['default'], function () { diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index cb3a0167..0adc3bbe 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -60,7 +60,7 @@ - + {% if site.google_analytics_tracking_id %} diff --git a/source/_layouts/post.html.twig b/source/_layouts/post.html.twig index 146ce0e8..08413d9d 100644 --- a/source/_layouts/post.html.twig +++ b/source/_layouts/post.html.twig @@ -14,3 +14,7 @@ {% block stylesheets %} {% endblock %} + +{% block scripts %} + +{% endblock %}