mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2024-11-27 03:10:25 +00:00
Remove caching:
This is the solution to making sure things that need translating aren't cached from English. A continuation of another commit that needed nocache. ALSO:Add kartdlphax to progress sidebar
This commit is contained in:
parent
c8380f341c
commit
3997a1d8aa
139
_config.yml
139
_config.yml
@ -122,7 +122,7 @@ author:
|
|||||||
# url: "https://facebook.com/"
|
# url: "https://facebook.com/"
|
||||||
- label: "GitHub"
|
- label: "GitHub"
|
||||||
icon: "fab fa-fw fa-github"
|
icon: "fab fa-fw fa-github"
|
||||||
url: "https://github.com/nh-server"
|
url: "https://github.com/hacks-guide/Guide_3DS"
|
||||||
# - label: "Instagram"
|
# - label: "Instagram"
|
||||||
# icon: "fab fa-fw fa-instagram"
|
# icon: "fab fa-fw fa-instagram"
|
||||||
# url: "https://instagram.com/"
|
# url: "https://instagram.com/"
|
||||||
@ -138,7 +138,7 @@ footer:
|
|||||||
# url:
|
# url:
|
||||||
- label: "GitHub"
|
- label: "GitHub"
|
||||||
icon: "fab fa-fw fa-github"
|
icon: "fab fa-fw fa-github"
|
||||||
url: "https://github.com/nh-server"
|
url: "https://github.com/hacks-guide/Guide_3DS"
|
||||||
# - label: "GitLab"
|
# - label: "GitLab"
|
||||||
# icon: "fab fa-fw fa-gitlab"
|
# icon: "fab fa-fw fa-gitlab"
|
||||||
# url:
|
# url:
|
||||||
@ -155,70 +155,71 @@ include:
|
|||||||
- .htaccess
|
- .htaccess
|
||||||
- _pages
|
- _pages
|
||||||
- _pages/en_US
|
- _pages/en_US
|
||||||
exclude:
|
exclude: [
|
||||||
- "*.sublime-project"
|
"*.sublime-project",
|
||||||
- "*.sublime-workspace"
|
"*.sublime-workspace",
|
||||||
- vendor
|
vendor,
|
||||||
- .asset-cache
|
.asset-cache,
|
||||||
- .bundle
|
.bundle,
|
||||||
- .jekyll-assets-cache
|
.jekyll-assets-cache,
|
||||||
- .sass-cache
|
.sass-cache,
|
||||||
- assets/js/plugins
|
assets/js/plugins,
|
||||||
- assets/js/_main.js
|
assets/js/_main.js,
|
||||||
- assets/js/vendor
|
assets/js/vendor,
|
||||||
- Capfile
|
Capfile,
|
||||||
- CHANGELOG
|
CHANGELOG,
|
||||||
- config
|
config,
|
||||||
- Gemfile
|
Gemfile,
|
||||||
- Gruntfile.js
|
Gruntfile.js,
|
||||||
- gulpfile.js
|
gulpfile.js,
|
||||||
- LICENSE
|
LICENSE,
|
||||||
- log
|
log,
|
||||||
- minimal-mistakes-jekyll.gemspec
|
minimal-mistakes-jekyll.gemspec,
|
||||||
- node_modules
|
node_modules,
|
||||||
- package.json
|
package.json,
|
||||||
- package-lock.json
|
package-lock.json,
|
||||||
- Rakefile
|
Rakefile,
|
||||||
- README
|
README,
|
||||||
- tmp
|
tmp,
|
||||||
- _pages/af_ZA,
|
_pages/af_ZA,
|
||||||
- _pages/ar_SA,
|
_pages/ar_SA,
|
||||||
- _pages/bg_BG,
|
_pages/bg_BG,
|
||||||
- _pages/ca_ES,
|
_pages/ca_ES,
|
||||||
- _pages/cs_CZ,
|
_pages/cs_CZ,
|
||||||
- _pages/da_DK,
|
_pages/da_DK,
|
||||||
# - _pages/de_DE,
|
# _pages/de_DE,
|
||||||
- _pages/el_GR,
|
_pages/el_GR,
|
||||||
- _pages/en_PT,
|
_pages/en_PT,
|
||||||
# _pages/en_US,
|
# _pages/en_US,
|
||||||
- _pages/et_EE,
|
_pages/et_EE,
|
||||||
- _pages/ca_ES,
|
_pages/ca_ES,
|
||||||
# - _pages/es_ES,
|
# _pages/es_ES,
|
||||||
# - _pages/fi_FI,
|
# _pages/fi_FI,
|
||||||
# - _pages/fr_FR,
|
# _pages/fr_FR,
|
||||||
# - _pages/he_IL,
|
# _pages/he_IL,
|
||||||
- _pages/hr_HR,
|
_pages/hr_HR,
|
||||||
# - _pages/hu_HU,
|
# _pages/hu_HU,
|
||||||
- _pages/id_ID,
|
_pages/id_ID,
|
||||||
# - _pages/it_IT,
|
# _pages/it_IT,
|
||||||
# - _pages/ja_JP,
|
# _pages/ja_JP,
|
||||||
- _pages/ko_KR,
|
_pages/ko_KR,
|
||||||
- _pages/ms_MY,
|
_pages/ms_MY,
|
||||||
- _pages/no_NO,
|
_pages/no_NO,
|
||||||
- _pages/nl_NL,
|
_pages/nl_NL,
|
||||||
# - _pages/pl_PL,
|
# _pages/pl_PL,
|
||||||
# - _pages/pt_BR,
|
# _pages/pt_BR,
|
||||||
- _pages/pt_PT,
|
_pages/pt_PT,
|
||||||
# - _pages/ro_RO,
|
# _pages/ro_RO,
|
||||||
# - _pages/ru_RU,
|
# _pages/ru_RU,
|
||||||
- _pages/sr_SP,
|
_pages/sr_SP,
|
||||||
- _pages/sv_SE,
|
_pages/sv_SE,
|
||||||
- _pages/th_TH,
|
_pages/th_TH,
|
||||||
- _pages/tr_TR,
|
_pages/tr_TR,
|
||||||
- _pages/uk_UA,
|
_pages/uk_UA,
|
||||||
- _pages/vi_VN,
|
_pages/vi_VN,
|
||||||
# - _pages/zh_CN,
|
# _pages/zh_CN,
|
||||||
# - _pages/zh_TW,
|
# _pages/zh_TW,
|
||||||
|
]
|
||||||
|
|
||||||
keep_files:
|
keep_files:
|
||||||
- .git
|
- .git
|
||||||
@ -254,10 +255,10 @@ sass:
|
|||||||
|
|
||||||
|
|
||||||
# Outputting
|
# Outputting
|
||||||
permalink: /:categories/:title/
|
# permalink: /:categories/:title/
|
||||||
paginate: 5 # amount of posts to show
|
# paginate: 5 # amount of posts to show
|
||||||
paginate_path: /page:num/
|
# paginate_path: /page:num/
|
||||||
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
# timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
|
||||||
|
|
||||||
# Plugins (previously gems:)
|
# Plugins (previously gems:)
|
||||||
|
@ -19,4 +19,8 @@
|
|||||||
-->
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}.<!-- {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
|
<!-- custom footer, guide specific -->
|
||||||
|
{% assign split_path = page.path | split: "/" %}
|
||||||
|
{% assign locale = split_path[1] %}
|
||||||
|
{% assign titles = site.data.navigation[locale].footer %}
|
||||||
|
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. - <a href="site-navigation">{{ titles[1].title }}</a> - <a href="privacy-policy">{{ titles[2].title }}</a> <!-- {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
|
||||||
|
@ -6,15 +6,16 @@
|
|||||||
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- for guide purposes all caching is removed and is separately built. -->
|
||||||
{% if site.search == true or page.layout == "search" %}
|
{% if site.search == true or page.layout == "search" %}
|
||||||
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
{%- case search_provider -%}
|
{%- case search_provider -%}
|
||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
{% include_cached search/lunr-search-scripts.html %}
|
{% include search/lunr-search-scripts.html %}
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
{% include_cached search/google-search-scripts.html %}
|
{% include search/google-search-scripts.html %}
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
{% include_cached search/algolia-search-scripts.html %}
|
{% include search/algolia-search-scripts.html %}
|
||||||
{%- endcase -%}
|
{%- endcase -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- for guide purposes all caching is removed and is separately built. -->
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
@ -15,9 +17,9 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
{% include_cached skip-links.html %}
|
{% include skip-links.html %}
|
||||||
{% include_cached browser-upgrade.html %}
|
{% include browser-upgrade.html %}
|
||||||
{% include_cached masthead.html %}
|
{% include masthead.html %}
|
||||||
|
|
||||||
<div class="initial-content">
|
<div class="initial-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
@ -25,14 +27,14 @@
|
|||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
{% include_cached search/search_form.html %}
|
{% include search/search_form.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="footer" class="page__footer">
|
<div id="footer" class="page__footer">
|
||||||
<footer>
|
<footer>
|
||||||
{% include footer/custom.html %}
|
{% include footer/custom.html %}
|
||||||
{% include_cached footer.html %}
|
{% include footer.html %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -220,6 +220,7 @@ $(document).ready(function() {
|
|||||||
"installing-boot9strap-(safecerthax)": "22",
|
"installing-boot9strap-(safecerthax)": "22",
|
||||||
"installing-boot9strap-(ssloth-browser)": "23",
|
"installing-boot9strap-(ssloth-browser)": "23",
|
||||||
"installing-boot9strap-(pichaxx)": "24",
|
"installing-boot9strap-(pichaxx)": "24",
|
||||||
|
"installing-boot9strap-(kartdlphax)": "25",
|
||||||
};
|
};
|
||||||
|
|
||||||
for(var device in devices){
|
for(var device in devices){
|
||||||
@ -271,6 +272,7 @@ $(document).ready(function() {
|
|||||||
"22": ["installing-boot9strap-(safecerthax)", "finalizing-setup"],
|
"22": ["installing-boot9strap-(safecerthax)", "finalizing-setup"],
|
||||||
"23": ["installing-boot9strap-(ssloth-browser)", "finalizing-setup"],
|
"23": ["installing-boot9strap-(ssloth-browser)", "finalizing-setup"],
|
||||||
"24": ["seedminer", "installing-boot9strap-(pichaxx)", "finalizing-setup"],
|
"24": ["seedminer", "installing-boot9strap-(pichaxx)", "finalizing-setup"],
|
||||||
|
"25": ["installing-boot9strap-(kartdlphax)", "finalizing-setup"],
|
||||||
|
|
||||||
}
|
}
|
||||||
// Can add custom routing if necessary but currently both routes are identical
|
// Can add custom routing if necessary but currently both routes are identical
|
||||||
|
4
assets/js/main.min.js
vendored
4
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user