Skip to content

Commit 2b51ef7

Browse files
committed
Cleanup (again)
1 parent 90b3190 commit 2b51ef7

File tree

6 files changed

+1
-103
lines changed

6 files changed

+1
-103
lines changed

css/html-style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11513,7 +11513,7 @@ html {
1151311513
.footer {
1151411514
padding-top: 5rem;
1151511515
padding-bottom: 5rem;
11516-
background-color: #2c3e50;
11516+
background-color: #ffffff;
1151711517
color: #fff;
1151811518
}
1151911519

wiki/archive-encryption/hu.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

wiki/archive-encryption/index.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,6 @@ <h1>Archive Encryption | SaveDesktop wiki</h1>
7373
.catch(error => console.error("Error fetching file list:", error));
7474
</script>
7575

76-
<!-- Language redirection using wiki/languages.json -->
77-
<script>
78-
document.addEventListener("DOMContentLoaded", function () {
79-
fetch("/wiki/languages.json")
80-
.then(response => response.json())
81-
.then(data => {
82-
const validLangs = data.languages;
83-
const path = window.location.pathname;
84-
const parts = path.split("/");
85-
const lastPart = parts[parts.length - 1];
86-
87-
if (!validLangs.includes(lastPart)) {
88-
const newPath = path.replace(/[^\/]+$/, "en");
89-
window.location.href = newPath;
90-
}
91-
})
92-
.catch(error => console.error("Error loading language list:", error));
93-
});
94-
</script>
95-
9676
<br>
9777
<a href="https://vikdevelop.github.io/SaveDesktop/wiki"><b>Back to Home page</b></a>
9878
</body>

wiki/flatpak-apps-installation/index.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,6 @@ <h1>Flatpak apps installation | SaveDesktop wiki</h1>
7373
.catch(error => console.error("Error fetching file list:", error));
7474
</script>
7575

76-
<!-- Language redirection using wiki/languages.json -->
77-
<script>
78-
document.addEventListener("DOMContentLoaded", function () {
79-
fetch("/wiki/languages.json")
80-
.then(response => response.json())
81-
.then(data => {
82-
const validLangs = data.languages;
83-
const path = window.location.pathname;
84-
const parts = path.split("/");
85-
const lastPart = parts[parts.length - 1];
86-
87-
if (!validLangs.includes(lastPart)) {
88-
const newPath = path.replace(/[^\/]+$/, "en");
89-
window.location.href = newPath;
90-
}
91-
})
92-
.catch(error => console.error("Error loading language list:", error));
93-
});
94-
</script>
95-
9676
<br>
9777
<a href="https://vikdevelop.github.io/SaveDesktop/wiki"><b>Back to Home page</b></a>
9878
</body>

wiki/saving-importing-configuration-in-cli/index.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,6 @@ <h1>Saving or importing the configuration in the CLI interface | SaveDesktop wik
7373
.catch(error => console.error("Error fetching file list:", error));
7474
</script>
7575

76-
<!-- Language redirection using wiki/languages.json -->
77-
<script>
78-
document.addEventListener("DOMContentLoaded", function () {
79-
fetch("/wiki/languages.json")
80-
.then(response => response.json())
81-
.then(data => {
82-
const validLangs = data.languages;
83-
const path = window.location.pathname;
84-
const parts = path.split("/");
85-
const lastPart = parts[parts.length - 1];
86-
87-
if (!validLangs.includes(lastPart)) {
88-
const newPath = path.replace(/[^\/]+$/, "en");
89-
window.location.href = newPath;
90-
}
91-
})
92-
.catch(error => console.error("Error loading language list:", error));
93-
});
94-
</script>
95-
9676
<br>
9777
<a href="https://vikdevelop.github.io/SaveDesktop/wiki"><b>Back to Home page</b></a>
9878
</body>

wiki/synchronization/index.html

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,6 @@ <h1>Synchronization | SaveDesktop wiki</h1>
7373
.catch(error => console.error("Error fetching file list:", error));
7474
</script>
7575

76-
<!-- Language redirection using wiki/languages.json -->
77-
<script>
78-
document.addEventListener("DOMContentLoaded", function () {
79-
fetch("/wiki/languages.json")
80-
.then(response => response.json())
81-
.then(data => {
82-
const validLangs = data.languages;
83-
const path = window.location.pathname;
84-
const parts = path.split("/");
85-
const lastPart = parts[parts.length - 1];
86-
87-
if (!validLangs.includes(lastPart)) {
88-
const newPath = path.replace(/[^\/]+$/, "en");
89-
window.location.href = newPath;
90-
}
91-
})
92-
.catch(error => console.error("Error loading language list:", error));
93-
});
94-
</script>
95-
9676
<br>
9777
<a href="https://vikdevelop.github.io/SaveDesktop/wiki"><b>Back to Home page</b></a>
9878
</body>

0 commit comments

Comments
 (0)