Use REDIRECT_TO_CMS and MULTISITE_CMS_FALLBACK to construct
/hosting footer urls
This commit is contained in:
parent
56f6c87fab
commit
ffe4eb4123
1 changed files with 3 additions and 3 deletions
|
@ -4,15 +4,15 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<ul class="list-inline">
|
<ul class="list-inline">
|
||||||
<li>
|
<li>
|
||||||
<a class="url-init" href="{% url 'datacenterlight:index' %}">{% trans "Home" %}</a>
|
<a class="url-init" href="{% if REDIRECT_TO_CMS %}{% url pages-root %}{% else %}https://{{MULTISITE_CMS_FALLBACK}}{% endif %}">{% trans "Home" %}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="footer-menu-divider">⋅</li>
|
<li class="footer-menu-divider">⋅</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="url-init" href="{% url 'datacenterlight:index' %}#contact">{% trans "Contact" %}</a>
|
<a class="url-init" href="{% if REDIRECT_TO_CMS %}{% url pages-root %}{% else %}https://{{MULTISITE_CMS_FALLBACK}}{% endif %}#contact">{% trans "Contact" %}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="footer-menu-divider">⋅</li>
|
<li class="footer-menu-divider">⋅</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="url-init" href="/cms/terms-of-service">{% trans "Terms of Service" %}</a>
|
<a class="url-init" href="https://{{MULTISITE_CMS_FALLBACK}}/cms/terms-of-service">{% trans "Terms of Service" %}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue