We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806a9b7 commit 1dc3f6bCopy full SHA for 1dc3f6b
_includes/footer_custom.html
@@ -1,6 +1,8 @@
1
<script>
2
+(function(){
3
const button = document.getElementById('edit-this-page');
4
const oldUrl = button.href;
5
const newUrl = oldUrl.replace('/main-repo/', '/');
6
button.href = newUrl;
7
+})();
8
</script>
_includes/header_custom.html
@@ -27,6 +27,7 @@
27
<a class="site-button" id="theme-toggle" style="cursor: pointer;"></a>
28
29
30
31
const light = 'light';
32
const dark = 'dark';
33
const system = 'system';
@@ -88,4 +89,5 @@
88
89
90
button.addEventListener('click', toggleTheme);
91
setTheme(loadedTheme);
92
93
0 commit comments