From 1682755fa0579b8eeba9de5e2f2ef0d2a31da671 Mon Sep 17 00:00:00 2001 From: Said Tahsin Dane Date: Sat, 14 Mar 2015 02:10:59 +0200 Subject: [PATCH] HTTPS links are used when possible. --- _config.yml | 12 ++++++------ _includes/find-way.html | 2 +- _includes/hackathon-location.html | 2 +- js/scripts.js | 2 +- js/scripts.min.js | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_config.yml b/_config.yml index 1bd21e1..5db1150 100644 --- a/_config.yml +++ b/_config.yml @@ -14,7 +14,7 @@ title: "GDG DevFest Season 2014" email: "devfest@gdg.org.ua" description: "GDG DevFest is a set of events all around the world" baseurl: "/zeppelin" -url: "http://gdg-x.github.io" +url: "https://gdg-x.github.io" permalink: "/blog/:title" googleAnalyticsTrackingId: "UA-43643469-5" googleAnalyticsSiteUrl: "gdg-x.github.io" @@ -36,7 +36,7 @@ socialImageSrcTwitter: "/img/seo/sharing-twitter.png" socialImageSrcFacebook: "/img/seo/sharing-facebook.png" # Documents -c4pUrl: "http://bit.ly/dfua-c4p" +c4pUrl: "https://bit.ly/dfua-c4p" c4sponsorsUrl: "/assets/GDG_DevFest_Partnership.pdf" @@ -50,9 +50,9 @@ navigationLinks: - {permalink: "/logistics/", text: "Logistics"} - {permalink: "/hackathon/", text: "Hackathon"} bottomNavigationLinks: - - {link: "http://bit.ly/dfua-c4p", text: "Become a speaker"} + - {link: "https://bit.ly/dfua-c4p", text: "Become a speaker"} rightNavigationButtons: - - {link: "http://bit.ly/dfua-c4p", text: "Become a speaker"} + - {link: "https://bit.ly/dfua-c4p", text: "Become a speaker"} # Hero Block heroImage: "hero.jpg" @@ -61,7 +61,7 @@ eventDate: "September - November, 2014" typeoutTextValues: '"", "Season", "Ukraine", "Germany", "USA"' typeoutFallback: "Season" heroButtons: - - {link: "http://bit.ly/dfua-c4p", text: "Become a speaker"} + - {link: "https://bit.ly/dfua-c4p", text: "Become a speaker"} - {permalink: "/#tickets", text: "Buy tickets"} # About Block @@ -127,7 +127,7 @@ partnersC4sponsorsButton: "Become a sponsor" # Subscribe Block subscribeImage: "subscribe.jpg" subscribeTitle: "Subscribe for updates" -subscribeAction: "http://gdg.us5.list-manage1.com/subscribe/post?u=9fc8aa205b0521b5f05fc8e1e&id=ae0fb459fc" +subscribeAction: "https://gdg.us5.list-manage1.com/subscribe/post?u=9fc8aa205b0521b5f05fc8e1e&id=ae0fb459fc" subscribeInfo: "Registration will be open around end of August. Number of tickets are limited. Stay tuned!" # Tickets Block diff --git a/_includes/find-way.html b/_includes/find-way.html index 545913a..209b91a 100644 --- a/_includes/find-way.html +++ b/_includes/find-way.html @@ -44,7 +44,7 @@
- {{ site.viewOnMap }} + {{ site.viewOnMap }} diff --git a/_includes/hackathon-location.html b/_includes/hackathon-location.html index 7889846..8a3bd9a 100644 --- a/_includes/hackathon-location.html +++ b/_includes/hackathon-location.html @@ -14,7 +14,7 @@ {% assign endTime = site.hackathonEndTime | split: "T" %} - {{ site.viewOnMap }} + {{ site.viewOnMap }} diff --git a/js/scripts.js b/js/scripts.js index b94a062..dd6de9e 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -278,7 +278,7 @@ // Google maps static if (typeof staticGoogleMaps !== 'undefined') { - $('#canvas-map').addClass('image-section').css('background-image','url(http://maps.googleapis.com/maps/api/staticmap?zoom=17¢er=' + mobileCenterMapCoordinates +'&size=' + $(window).width() + 'x700&scale=2&language=en&markers=icon:' + icon +'|'+ eventPlaceCoordinates +'&maptype=roadmap&style=visibility:on|lightness:40|gamma:1.1|weight:0.9&style=element:labels|visibility:off&style=feature:water|hue:0x0066ff&style=feature:road|visibility:on&style=feature:road|element:labels|saturation:-30)'); + $('#canvas-map').addClass('image-section').css('background-image','url(https://maps.googleapis.com/maps/api/staticmap?zoom=17¢er=' + mobileCenterMapCoordinates +'&size=' + $(window).width() + 'x700&scale=2&language=en&markers=icon:' + icon +'|'+ eventPlaceCoordinates +'&maptype=roadmap&style=visibility:on|lightness:40|gamma:1.1|weight:0.9&style=element:labels|visibility:off&style=feature:water|hue:0x0066ff&style=feature:road|visibility:on&style=feature:road|element:labels|saturation:-30)'); } //Google maps diff --git a/js/scripts.min.js b/js/scripts.min.js index 60234cf..34645c8 100644 --- a/js/scripts.min.js +++ b/js/scripts.min.js @@ -10,7 +10,7 @@ d;void 0===d;)d=b.data("slotDetail"),b=b.next();a(this).find(".slot-detail").htm a(".slider-next-item").click(function(){var b=a(this).closest("div"),d=b.find(".slider-current-item").next();d.length?(d.addClass("slider-current-item").removeClass("hidden"),b.find(".slider-current-item").first().removeClass("slider-current-item").addClass("hidden")):(b.find(".slider-item").first().addClass("slider-current-item").removeClass("hidden"),b.find(".slider-current-item").last().removeClass("slider-current-item").addClass("hidden"))});a(".modal").on("hidden.bs.modal",function(){var b=a(this).find("iframe"); b.attr("src",b.attr("src"))});a(".slot").click(function(){location.hash=a(this).attr("id")});if("undefined"!==typeof twitterFeedUrl){var h=function(){var b=a("#tweets").find(".tweet"),d=0;a(b.get(0)).removeClass("hidden");setInterval(function(){var c=++d%b.length;a(b.get(c-1)).addClass("hidden");a(b.get(c)).removeClass("hidden")},5E3)};a.getJSON(twitterFeedUrl,function(b){a.each(b,function(b,c){var e;e=c.text.replace(/(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,'$1'); e=e.replace(/(^|[^\/])(www\.[\S]+(\b|$))/gim,'$1$2');e=e.replace(/#(\S*)/g,'#$1');e=e.replace(/\B@([\w-]+)/gm,'@$1');e='";a("#tweets").append(e)}); -h()})}});"undefined"!==typeof staticGoogleMaps&&a("#canvas-map").addClass("image-section").css("background-image","url(http://maps.googleapis.com/maps/api/staticmap?zoom=17¢er="+mobileCenterMapCoordinates+"&size="+a(window).width()+"x700&scale=2&language=en&markers=icon:"+icon+"|"+eventPlaceCoordinates+"&maptype=roadmap&style=visibility:on|lightness:40|gamma:1.1|weight:0.9&style=element:labels|visibility:off&style=feature:water|hue:0x0066ff&style=feature:road|visibility:on&style=feature:road|element:labels|saturation:-30)"); +h()})}});"undefined"!==typeof staticGoogleMaps&&a("#canvas-map").addClass("image-section").css("background-image","url(https://maps.googleapis.com/maps/api/staticmap?zoom=17¢er="+mobileCenterMapCoordinates+"&size="+a(window).width()+"x700&scale=2&language=en&markers=icon:"+icon+"|"+eventPlaceCoordinates+"&maptype=roadmap&style=visibility:on|lightness:40|gamma:1.1|weight:0.9&style=element:labels|visibility:off&style=feature:water|hue:0x0066ff&style=feature:road|visibility:on&style=feature:road|element:labels|saturation:-30)"); if("undefined"!==typeof googleMaps){var c,q,n,r,p,h,l=[],x=new google.maps.DirectionsService;google.maps.event.addDomListener(window,"load",function(){function m(k,f){x.route({origin:k,destination:eventPlace,travelMode:google.maps.TravelMode[f]},function(d,e){if(e==google.maps.DirectionsStatus.OK){c.setMapTypeId("zoomed");n.setMap(c);n.setDirections(d);var g=d.routes[0].legs[0];b(g.start_location);b(g.end_location);a("#distance").text(g.distance.text);a("#estimateTime").text(g.duration.text);a("#mode-select").val(f); a("#mode").removeClass("hidden");g=a("#mode-icon use").attr("xlink:href");g=g.substring(0,g.indexOf("#")+1)+"icon-"+f.toLowerCase();a("#mode-icon use").attr("xlink:href",g)}else e!=google.maps.DirectionsStatus.OK&&"DRIVING"!=f?m(k,"DRIVING"):(g=p.getPath(),g.push(k),g.push(eventPlace),b(k),b(eventPlace),g=new google.maps.LatLngBounds,g.extend(k),g.extend(eventPlace),c.fitBounds(g),p.setMap(c),g=Math.round(google.maps.geometry.spherical.computeDistanceBetween(k,eventPlace)/1E3),a("#distance").text(g+ " km"),a("#estimateTime").text(""),a("#find-flight").removeClass("hidden"),a("#mode").addClass("hidden"))});d();a("#find-way").addClass("location-active");e(k);a("#find-way h3").removeClass("fadeInUp").addClass("fadeOutDown")}function u(){navigator.geolocation&&navigator.geolocation.getCurrentPosition(function(a){h=new google.maps.LatLng(a.coords.latitude,a.coords.longitude);m(h,"TRANSIT")})}function b(a){a=new google.maps.Marker({position:a,map:c,icon:icon});l.push(a)}function d(){for(var a=0;a<