Fix footer.

This commit is contained in:
Michael Lipp 2025-03-02 12:39:48 +01:00
parent 05d53c58b1
commit 2f6b3d2127

View file

@ -82,13 +82,13 @@
</section>
<footer>
<!-- Optional footer data -->
<p id=githubfooter style="padding: 5px 6px; visibility: hidden"><small>
<p id=githubfooter style="display: none"><small>
Hosted on GitHub Pages &mdash;
<a href="https://github.com/site/terms" target="_top">Terms</a>
&mdash; <a href="https://github.com/site/privacy" target="_top">Privacy</a>
&mdash; Theme derived from <a href="https://github.com/orderedlist/minimal">minimal</a></small>
</p>
<p id=readthedocsfooter style="padding: 5px 6px; visibility: hidden"><small>
<p id=readthedocsfooter style="display: none"><small>
Hosted on Readthedocs &mdash;
<a href="https://docs.readthedocs.io/page/terms-of-service.html" target="_top">Terms</a>
&mdash; <a href="https://docs.readthedocs.io/page/privacy-policy.html" target="_top">Privacy</a>
@ -96,9 +96,9 @@
</p>
<script type="text/javascript">
if (location.hostname.indexOf("github") !== -1 || location.hostname.indexOf("jdrupes.org") !== -1) {
document.getElementById("githubfooter").style.visibility="visible";
document.getElementById("githubfooter").style.display="inherit";
} else if (location.hostname.indexOf("readthedocs") !== -1) {
document.getElementById("readthedocsfooter").style.visibility="visible";
document.getElementById("readthedocsfooter").style.display="inherit";
}
</script>
</footer>