Add readthedocs specific footer.
This commit is contained in:
parent
502842f486
commit
6b7c78ed2c
1 changed files with 21 additions and 0 deletions
|
|
@ -81,6 +81,27 @@
|
|||
{{ content }}
|
||||
</section>
|
||||
<footer>
|
||||
<!-- Optional footer data -->
|
||||
<p id=githubfooter style="padding: 5px 6px; visibility: hidden">
|
||||
Hosted on GitHub Pages —
|
||||
<a href="https://github.com/site/terms" target="_top">Terms</a>
|
||||
— <a href="https://github.com/site/privacy" target="_top">Privacy</a>
|
||||
</p>
|
||||
<p id=readthedocsfooter style="padding: 5px 6px; visibility: hidden">
|
||||
Hosted on Readthedocs —
|
||||
<a href="https://docs.readthedocs.io/page/terms-of-service.html" target="_top">Terms</a>
|
||||
— <a href="https://docs.readthedocs.io/page/privacy-policy.html" target="_top">Privacy</a>
|
||||
</p>
|
||||
<script type="text/javascript">
|
||||
if (location.hostname.indexOf("github") !== -1 || location.hostname.indexOf("jdrupes.org") !== -1) {
|
||||
document.getElementById("githubfooter").style.visibility="visible";
|
||||
} else if (location.hostname.indexOf("readthedocs") !== -1) {
|
||||
document.getElementById("readthedocsfooter").style.visibility="visible";
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<p><small>Hosted on GitHub Pages — <a href="https://github.com/site/terms">Terms</a>
|
||||
— <a href="https://github.com/site/privacy">Privacy</a>
|
||||
— Theme derived from <a href="https://github.com/orderedlist/minimal">minimal</a></small></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue