mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-06-21 22:13:17 +03:00
Redirect from www. to fund. when needed.
This commit is contained in:
parent
0dc9f285be
commit
c958d5d447
|
@ -1,3 +1,12 @@
|
||||||
|
<script>
|
||||||
|
// Imperfect, but easier to fit in with the existing docs build.
|
||||||
|
// Hyperlinks should point directly to the "fund." subdomain, but this'll
|
||||||
|
// handle the nav bar links without requiring any docs build changes for the moment.
|
||||||
|
if (window.location.hostname == "www.django-rest-framework.org") {
|
||||||
|
window.location.replace("https://fund.django-rest-framework.org/topics/funding/");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.chart {
|
.chart {
|
||||||
background-color: #e3e3e3;
|
background-color: #e3e3e3;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user