diff --git a/_config.yml b/_config.yml index 580e502a05..a5c6db63a0 100644 --- a/_config.yml +++ b/_config.yml @@ -122,7 +122,7 @@ author: # url: "https://facebook.com/" - label: "GitHub" icon: "fab fa-fw fa-github" - url: "https://github.com/nh-server" + url: "https://github.com/hacks-guide/Guide_3DS" # - label: "Instagram" # icon: "fab fa-fw fa-instagram" # url: "https://instagram.com/" @@ -138,7 +138,7 @@ footer: # url: - label: "GitHub" icon: "fab fa-fw fa-github" - url: "https://github.com/nh-server" + url: "https://github.com/hacks-guide/Guide_3DS" # - label: "GitLab" # icon: "fab fa-fw fa-gitlab" # url: @@ -155,70 +155,71 @@ include: - .htaccess - _pages - _pages/en_US -exclude: - - "*.sublime-project" - - "*.sublime-workspace" - - vendor - - .asset-cache - - .bundle - - .jekyll-assets-cache - - .sass-cache - - assets/js/plugins - - assets/js/_main.js - - assets/js/vendor - - Capfile - - CHANGELOG - - config - - Gemfile - - Gruntfile.js - - gulpfile.js - - LICENSE - - log - - minimal-mistakes-jekyll.gemspec - - node_modules - - package.json - - package-lock.json - - Rakefile - - README - - tmp - - _pages/af_ZA, - - _pages/ar_SA, - - _pages/bg_BG, - - _pages/ca_ES, - - _pages/cs_CZ, - - _pages/da_DK, - # - _pages/de_DE, - - _pages/el_GR, - - _pages/en_PT, +exclude: [ + "*.sublime-project", + "*.sublime-workspace", + vendor, + .asset-cache, + .bundle, + .jekyll-assets-cache, + .sass-cache, + assets/js/plugins, + assets/js/_main.js, + assets/js/vendor, + Capfile, + CHANGELOG, + config, + Gemfile, + Gruntfile.js, + gulpfile.js, + LICENSE, + log, + minimal-mistakes-jekyll.gemspec, + node_modules, + package.json, + package-lock.json, + Rakefile, + README, + tmp, + _pages/af_ZA, + _pages/ar_SA, + _pages/bg_BG, + _pages/ca_ES, + _pages/cs_CZ, + _pages/da_DK, + # _pages/de_DE, + _pages/el_GR, + _pages/en_PT, # _pages/en_US, - - _pages/et_EE, - - _pages/ca_ES, - # - _pages/es_ES, - # - _pages/fi_FI, - # - _pages/fr_FR, - # - _pages/he_IL, - - _pages/hr_HR, - # - _pages/hu_HU, - - _pages/id_ID, - # - _pages/it_IT, - # - _pages/ja_JP, - - _pages/ko_KR, - - _pages/ms_MY, - - _pages/no_NO, - - _pages/nl_NL, - # - _pages/pl_PL, - # - _pages/pt_BR, - - _pages/pt_PT, - # - _pages/ro_RO, - # - _pages/ru_RU, - - _pages/sr_SP, - - _pages/sv_SE, - - _pages/th_TH, - - _pages/tr_TR, - - _pages/uk_UA, - - _pages/vi_VN, - # - _pages/zh_CN, - # - _pages/zh_TW, + _pages/et_EE, + _pages/ca_ES, + # _pages/es_ES, + # _pages/fi_FI, + # _pages/fr_FR, + # _pages/he_IL, + _pages/hr_HR, + # _pages/hu_HU, + _pages/id_ID, + # _pages/it_IT, + # _pages/ja_JP, + _pages/ko_KR, + _pages/ms_MY, + _pages/no_NO, + _pages/nl_NL, + # _pages/pl_PL, + # _pages/pt_BR, + _pages/pt_PT, + # _pages/ro_RO, + # _pages/ru_RU, + _pages/sr_SP, + _pages/sv_SE, + _pages/th_TH, + _pages/tr_TR, + _pages/uk_UA, + _pages/vi_VN, + # _pages/zh_CN, + # _pages/zh_TW, +] keep_files: - .git @@ -254,10 +255,10 @@ sass: # Outputting -permalink: /:categories/:title/ -paginate: 5 # amount of posts to show -paginate_path: /page:num/ -timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones +# permalink: /:categories/:title/ +# paginate: 5 # amount of posts to show +# paginate_path: /page:num/ +# timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones # Plugins (previously gems:) diff --git a/_includes/footer.html b/_includes/footer.html index 1f68980aa7..e9518abc2c 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -19,4 +19,8 @@ --> -
+ +{% assign split_path = page.path | split: "/" %} +{% assign locale = split_path[1] %} +{% assign titles = site.data.navigation[locale].footer %} + diff --git a/_includes/scripts.html b/_includes/scripts.html index bbdaddff0b..45f93bd50a 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -6,15 +6,16 @@ {% endif %} + {% if site.search == true or page.layout == "search" %} {%- assign search_provider = site.search_provider | default: "lunr" -%} {%- case search_provider -%} {%- when "lunr" -%} - {% include_cached search/lunr-search-scripts.html %} + {% include search/lunr-search-scripts.html %} {%- when "google" -%} - {% include_cached search/google-search-scripts.html %} + {% include search/google-search-scripts.html %} {%- when "algolia" -%} - {% include_cached search/algolia-search-scripts.html %} + {% include search/algolia-search-scripts.html %} {%- endcase -%} {% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index 5abd964538..5581985571 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,6 +8,8 @@ Free for personal and commercial use under the MIT license https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE --> + + {% include head.html %} @@ -15,9 +17,9 @@ - {% include_cached skip-links.html %} - {% include_cached browser-upgrade.html %} - {% include_cached masthead.html %} + {% include skip-links.html %} + {% include browser-upgrade.html %} + {% include masthead.html %}\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o;if(1===t.nodeType){if(V.hasData(e)&&(o=V.get(e).events))for(i in V.remove(t,"handle events"),o)for(n=0,r=o[i].length;n").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s=k.css(e,"position"),l=k(e),u={};"static"===s&&(e.style.position="relative"),o=l.offset(),r=k.css(e,"top"),a=k.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=l.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=b(t)?t.call(e,n,k.extend({},o)):t).top&&(u.top=t.top-o.top+i),null!=t.left&&(u.left=t.left-o.left+a),"using"in t?t.using.call(e,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),l.css(u))}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||re})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return B(this,function(e,t,n){var r;return m(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=Ge(y.pixelPosition,function(e,t){if(t)return t=Ve(e,n),We.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return m(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0
\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o;if(1===t.nodeType){if(V.hasData(e)&&(o=V.get(e).events))for(i in V.remove(t,"handle events"),o)for(n=0,r=o[i].length;n").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s=k.css(e,"position"),l=k(e),u={};"static"===s&&(e.style.position="relative"),o=l.offset(),r=k.css(e,"top"),a=k.css(e,"left"),a=("absolute"===s||"fixed"===s)&&-1<(r+a).indexOf("auto")?(i=(s=l.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=m(t)?t.call(e,n,k.extend({},o)):t).top&&(u.top=t.top-o.top+i),null!=t.left&&(u.left=t.left-o.left+a),"using"in t?t.using.call(e,u):("number"==typeof u.top&&(u.top+="px"),"number"==typeof u.left&&(u.left+="px"),l.css(u))}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||re})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return B(this,function(e,t,n){var r;return g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n?r?r[i]:e[t]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n)},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=Ge(b.pixelPosition,function(e,t){if(t)return t=Ve(e,n),Ue.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return B(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0