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
6 changed files with 90 additions and 80 deletions
139
_config.yml
139
_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:)
|
||||
|
|
|
@ -19,4 +19,8 @@
|
|||
-->
|
||||
</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>
|
||||
{% endif %}
|
||||
|
||||
<!-- for guide purposes all caching is removed and is separately built. -->
|
||||
{% 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 %}
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
Free for personal and commercial use under the MIT 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">
|
||||
<head>
|
||||
{% include head.html %}
|
||||
|
@ -15,9 +17,9 @@
|
|||
</head>
|
||||
|
||||
<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_cached browser-upgrade.html %}
|
||||
{% include_cached masthead.html %}
|
||||
{% include skip-links.html %}
|
||||
{% include browser-upgrade.html %}
|
||||
{% include masthead.html %}
|
||||
|
||||
<div class="initial-content">
|
||||
{{ content }}
|
||||
|
@ -25,14 +27,14 @@
|
|||
|
||||
{% if site.search == true %}
|
||||
<div class="search-content">
|
||||
{% include_cached search/search_form.html %}
|
||||
{% include search/search_form.html %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="footer" class="page__footer">
|
||||
<footer>
|
||||
{% include footer/custom.html %}
|
||||
{% include_cached footer.html %}
|
||||
{% include footer.html %}
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -220,6 +220,7 @@ $(document).ready(function() {
|
|||
"installing-boot9strap-(safecerthax)": "22",
|
||||
"installing-boot9strap-(ssloth-browser)": "23",
|
||||
"installing-boot9strap-(pichaxx)": "24",
|
||||
"installing-boot9strap-(kartdlphax)": "25",
|
||||
};
|
||||
|
||||
for(var device in devices){
|
||||
|
@ -271,6 +272,7 @@ $(document).ready(function() {
|
|||
"22": ["installing-boot9strap-(safecerthax)", "finalizing-setup"],
|
||||
"23": ["installing-boot9strap-(ssloth-browser)", "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
|
||||
|
|
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 a new issue