mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 14:42:54 +00:00
Fix js include
This commit is contained in:
parent
54dad64137
commit
618fe065fe
16 changed files with 16 additions and 16 deletions
|
@ -23,7 +23,7 @@ $(document).keypress(function(e) {
|
|||
}
|
||||
});
|
||||
|
||||
{{ if .Site.Params.localTime }}
|
||||
{{ if and .Site.Params.localTime .Page.IsHome }}
|
||||
$(document).ready(function() {
|
||||
var time = moment().tz("{{ .Site.Params.timeZone }}").format("h:mm A");
|
||||
$('#time').html(time);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
|
||||
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
|
||||
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}
|
|
@ -1,2 +1,2 @@
|
|||
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
|
||||
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
|
||||
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}
|
|
@ -1,2 +1,2 @@
|
|||
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundle.7f755d2100d3644477de868b71a7459a39f18db99d221d93d66d34e427cade7d.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3VdIQDTZER33oaLcadFmjnxjbmdIh2T1m005CfK3n0="}}
|
||||
{"Target":"js/bundle.1234609e6363cb2247099ce4cc4701ab8e722de386b18674fc5d19941697d812.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-EjRgnmNjyyJHCZzkzEcBq45yLeOGsYZ0/F0ZlBaX2BI="}}
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
{"Target":"js/bundleMoment.7f7a4bcb42a8af7ae80dcdc33a09305caa9f980d48eae96d4c70aa7fd7d30fc1.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-f3pLy0Kor3roDc3DOgkwXKqfmA1I6ultTHCqf9fTD8E="}}
|
||||
{"Target":"js/bundleMoment.c0c2eddd62b0f9719cad4bf88dc2cf9a1b24cb979da336a28e71733aec00a9b2.js","MediaType":"application/javascript","Data":{"Integrity":"sha256-wMLt3WKw+XGcrUv4jcLPmhsky5edozaijnFzOuwAqbI="}}
|
|
@ -1,2 +1,2 @@
|
|||
$('a[href^="#"]').click(function(e){e.preventDefault();$('html, body').animate({scrollTop:$(this.hash).offset().top},500);$("#nav-menu").removeClass("is-active");return true;})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});$(document).ready(function(){var time=moment().tz("America/Los_Angeles").format("h:mm A");$('#time').html(time);})
|
||||
$('.card').click(function(){$($(this).attr('data-target')).addClass('is-active');$("html").addClass("modal-open");});$('.modal-close').click(function(){$($(this).attr('data-target')).removeClass('is-active');$("html").removeClass("modal-open");});$(document).keypress(function(e){if(e.which==0){$('.modal.is-active').removeClass('is-active');}});
|
Loading…
Reference in a new issue