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">
|
||||
<ul class="list-inline">
|
||||
<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 class="footer-menu-divider">⋅</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 class="footer-menu-divider">⋅</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>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in a new issue