Skip to content

Commit

Permalink
Deploying to gh-pages from @ a685d62 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
george-gca committed Jan 18, 2025
1 parent f111678 commit d2786e3
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 31 deletions.
14 changes: 12 additions & 2 deletions assets/js/search-data.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

const currentUrl = window.location.href;
const siteUrl = "https://george-gca.github.io";
let updatedUrl = currentUrl.replace("https://george-gca.github.io/multi-language-al-folio", "");
if (currentUrl.length == updatedUrl.length && currentUrl.startsWith("http://127.0.0.1")) {
const otherSiteUrl = siteUrl.replace("localhost", "127.0.0.1");
updatedUrl = currentUrl.replace(otherSiteUrl + "/multi-language-al-folio", "");
}
if ("".length > 0) {
updatedUrl = updatedUrl.replace("/", "");
}
// get the ninja-keys element
const ninja = document.querySelector('ninja-keys');

Expand Down Expand Up @@ -528,14 +538,14 @@ ninja.data = [{
title: 'pt-br',
section: 'Languages',
handler: () => {
window.location.href = "/multi-language-al-folio/pt-br/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio/pt-br" + updatedUrl;
},
},{
id: 'lang-fr-ca',
title: 'fr-ca',
section: 'Languages',
handler: () => {
window.location.href = "/multi-language-al-folio/fr-ca/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio/fr-ca" + updatedUrl;
},
},{
id: 'light-theme',
Expand Down
2 changes: 1 addition & 1 deletion assets/jupyter/blog.ipynb.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions blog/2024/tabs/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions feed.xml

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions fr-ca/assets/js/search-data.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

const currentUrl = window.location.href;
const siteUrl = "https://george-gca.github.io";
let updatedUrl = currentUrl.replace("https://george-gca.github.io/multi-language-al-folio", "");
if (currentUrl.length == updatedUrl.length && currentUrl.startsWith("http://127.0.0.1")) {
const otherSiteUrl = siteUrl.replace("localhost", "127.0.0.1");
updatedUrl = currentUrl.replace(otherSiteUrl + "/multi-language-al-folio", "");
}
if ("fr-ca".length > 0) {
updatedUrl = updatedUrl.replace("/fr-ca", "");
}
// get the ninja-keys element
const ninja = document.querySelector('ninja-keys');

Expand Down Expand Up @@ -528,14 +538,14 @@ ninja.data = [{
title: 'en-us',
section: 'langues',
handler: () => {
window.location.href = "/multi-language-al-folio/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio" + updatedUrl;
},
},{
id: 'lang-pt-br',
title: 'pt-br',
section: 'langues',
handler: () => {
window.location.href = "/multi-language-al-folio/pt-br/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio/pt-br" + updatedUrl;
},
},{
id: 'light-theme',
Expand Down
6 changes: 3 additions & 3 deletions fr-ca/blog/2024/tabs/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions fr-ca/feed.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fr-ca/sitemap.xml

Large diffs are not rendered by default.

14 changes: 12 additions & 2 deletions pt-br/assets/js/search-data.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@

const currentUrl = window.location.href;
const siteUrl = "https://george-gca.github.io";
let updatedUrl = currentUrl.replace("https://george-gca.github.io/multi-language-al-folio", "");
if (currentUrl.length == updatedUrl.length && currentUrl.startsWith("http://127.0.0.1")) {
const otherSiteUrl = siteUrl.replace("localhost", "127.0.0.1");
updatedUrl = currentUrl.replace(otherSiteUrl + "/multi-language-al-folio", "");
}
if ("pt-br".length > 0) {
updatedUrl = updatedUrl.replace("/pt-br", "");
}
// get the ninja-keys element
const ninja = document.querySelector('ninja-keys');

Expand Down Expand Up @@ -528,14 +538,14 @@ ninja.data = [{
title: 'en-us',
section: 'Idiomas',
handler: () => {
window.location.href = "/multi-language-al-folio/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio" + updatedUrl;
},
},{
id: 'lang-fr-ca',
title: 'fr-ca',
section: 'Idiomas',
handler: () => {
window.location.href = "/multi-language-al-folio/fr-ca/assets/js/search-data.js";
window.location.href = "/multi-language-al-folio/fr-ca" + updatedUrl;
},
},{
id: 'light-theme',
Expand Down
6 changes: 3 additions & 3 deletions pt-br/blog/2024/tabs/index.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pt-br/feed.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pt-br/sitemap.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sitemap.xml

Large diffs are not rendered by default.

0 comments on commit d2786e3

Please sign in to comment.