mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Concatenate all js
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
<h2>Install in minutes and start building websites in (milli)seconds.</h2>
|
||||
<p>Hugo works on OSX, Windows, Linux, FreeBSD, and anywhere else where the Go compiler tool chain can run.</p>
|
||||
<div class="platform-icons">
|
||||
<i class="fa fa-apple"></i>
|
||||
<i class="fa fa-windows"></i>
|
||||
<i class="fa fa-linux"></i>
|
||||
<i class="icon-freebsd white"></i>
|
||||
<i class="icon-apple"></i>
|
||||
<i class="icon-windows"></i>
|
||||
<i class="icon-linux"></i>
|
||||
<i class="icon-freebsd"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<script src="/js/vendor/jquery-2.2.4.min.js"></script>
|
||||
<!-- <script src="/js/vendor/jquery-2.2.4.min.js"></script> -->
|
||||
<script src="/js/script.min.js" async defer></script>
|
||||
|
||||
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -63,7 +63,7 @@ gulp.task("image-resize", () => {
|
||||
|
||||
gulp.task('scripts', function(cb) {
|
||||
pump([
|
||||
gulp.src(['js/_clipboard.js','js/_filesaver.js', 'js/_velocity.min.js', 'js/_velocity.ui.min.js', 'js/_blast.js', 'js/scripts/*.js']),
|
||||
gulp.src(['js/_jquery.min.js', 'js/_clipboard.js', 'js/_filesaver.js', 'js/_velocity.min.js', 'js/_velocity.ui.min.js', 'js/_blast.js', 'js/scripts/*.js']),
|
||||
// sourcemaps.init(),
|
||||
babel({
|
||||
presets: ['es2015']
|
||||
|
||||
Vendored
+4
File diff suppressed because one or more lines are too long
@@ -2,22 +2,6 @@ svg.svg-icon {
|
||||
max-width: 60px;
|
||||
}
|
||||
|
||||
.icon-freebsd:before {
|
||||
@include size(1em);
|
||||
content: '';
|
||||
display: inline-block;
|
||||
margin-left: -.15em;
|
||||
margin-right: 0em;
|
||||
background-image: url(/images/hugo-icons/freebsd.svg);
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.icon-freebsd.white:before {
|
||||
background-image: url(/images/hugo-icons/freebsd-white.svg);
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
|
||||
//for template lookup yes/no/na (e.g., in single-page template [/templates/single-page-template/])
|
||||
span.yes {
|
||||
code {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+7
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user