Skip to content

Commit

Permalink
Added the 'resources' directory after local 'extended' Hugo build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahmaddox committed Dec 3, 2018
1 parent 49aecfd commit 2e4d142
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(function($){'use strict';$(function(){$('[data-toggle="tooltip"]').tooltip();$('[data-toggle="popover"]').popover();$('.popover-dismiss').popover({trigger:'focus'})});function bottomPos(element){return element.offset().top+element.outerHeight();}
$(function(){var promo=$(".js-td-cover");if(!promo.length){return}
var promoOffset=bottomPos(promo);var navbarOffset=$('.js-navbar-scroll').offset().top;var threshold=Math.ceil(promo.outerHeight()/2);if((promoOffset-navbarOffset)<threshold){$('.js-navbar-scroll').addClass('navbar-bg-onscroll');}
$(window).on('scroll',function(){var navtop=$('.js-navbar-scroll').offset().top-$(window).scrollTop();var promoOffset=bottomPos($('.js-td-cover'));var navbarOffset=$('.js-navbar-scroll').offset().top;if((promoOffset-navbarOffset)<threshold){$('.js-navbar-scroll').addClass('navbar-bg-onscroll');}else{$('.js-navbar-scroll').removeClass('navbar-bg-onscroll');$('.js-navbar-scroll').addClass('navbar-bg-onscroll--fade');}});});}(jQuery));(function($){'use strict';var Search={init:function(){$(document).ready(function(){$(document).on('keypress','.td-search-input',function(e){if(e.keyCode!==13){return}
var query=$(this).val();var searchPage="/search/?q="+query;document.location=searchPage;return false;});});},};Search.init();}(jQuery));
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"js/main.min.0e19d87d2b366d4d429de3a6892b5d908c1c484cb52eb6647a9b20759f18e9b4.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-DhnYfSs2bU1CneOmiStdkIwcSEy1LrZkepsgdZ8Y6bQ="}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
Copyright 2018 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

(function($) {

'use strict';

var Search = {
init: function() {
$(document).ready(function() {
$(document).on('keypress', '.td-search-input', function(e) {
if (e.keyCode !== 13) {
return
}

var query = $(this).val();
var searchPage = "/search/?q=" + query;
document.location = searchPage;

return false;
});

});
},
};

Search.init();


}(jQuery));
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"js/search.js","MediaType":"application/javascript","Data":{}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"scss/main.min.52ad70708a7b2f504f4306200a9532522e5703e89ee72dac8cf38e8951943ba6.css","MediaType":"text/css","Data":{"Integrity":"sha256-Uq1wcIp7L1BPQwYgCpUyUi5XA+ie5y2sjPOOiVGUO6Y="}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240"/>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"icons/logo.min.svg","MediaType":"image/svg+xml","Data":{}}

0 comments on commit 2e4d142

Please sign in to comment.