update gulpfile
This commit is contained in:
parent
e65cf7667d
commit
5ad92bea16
@ -18,9 +18,7 @@ var banner = ['/*!\n',
|
||||
].join('');
|
||||
|
||||
// Default task
|
||||
gulp.task('default', function() {
|
||||
// default tasks here
|
||||
});
|
||||
gulp.task('default', ['less', 'minify-css', 'minify-js', 'copy']);
|
||||
|
||||
// Less task to compile the less files and add the banner
|
||||
gulp.task('less', function() {
|
||||
@ -101,7 +99,4 @@ gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function()
|
||||
// Reloads the browser whenever HTML or JS files change
|
||||
gulp.watch('*.html', browserSync.reload);
|
||||
gulp.watch('js/**/*.js', browserSync.reload);
|
||||
});
|
||||
|
||||
// Build Task
|
||||
gulp.task('build', ['less', 'minify-css', 'minify-js', 'copy']);
|
||||
});
|
11
index.html
11
index.html
@ -14,9 +14,6 @@
|
||||
<!-- Bootstrap Core CSS -->
|
||||
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link href="css/agency.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom Fonts -->
|
||||
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
|
||||
@ -24,6 +21,9 @@
|
||||
<link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link href="css/agency.min.css" rel="stylesheet">
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
@ -41,8 +41,7 @@
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header page-scroll">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
Menu <i class="fa fa-bars"></i>
|
||||
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
|
||||
</button>
|
||||
<a class="navbar-brand page-scroll" href="#page-top">Start Bootstrap</a>
|
||||
</div>
|
||||
@ -394,7 +393,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section id="contact">
|
||||
<div class="container">
|
||||
|
@ -52,7 +52,7 @@ $(function() {
|
||||
//clear all fields
|
||||
$('#contactForm').trigger("reset");
|
||||
},
|
||||
})
|
||||
});
|
||||
},
|
||||
filter: function() {
|
||||
return $(this).is(":visible");
|
||||
|
Loading…
Reference in New Issue
Block a user