Commit 7239fe7b authored by felix.herrmann's avatar felix.herrmann
Browse files

fix(links): use internal anchors for footer links

parent 4fb5c3cf
......@@ -16,19 +16,19 @@
<nav>
<ul class="nav nav-pills flex-column footer-nav">
<li class="nav-item">
<a href="{% slugurl 'terms-of-use' %}">{% trans "Terms of Use" %}</a>
<a href="{% slugurl 'terms-of-use' %}#terms-of-use">{% trans "Terms of Use" %}</a>
</li>
<li class="nav-item">
<a href="{% slugurl 'privacy-policy' %}">{% trans "Privacy Policy" %}</a>
<a href="{% slugurl 'privacy-policy' %}#privacy-policy">{% trans "Privacy Policy" %}</a>
</li>
<li class="nav-item">
<a href="{% slugurl 'terms-and-conditions' %}">{% trans "Terms and Conditions" %}</a>
<a href="{% slugurl 'terms-and-conditions' %}#terms-and-conditions">{% trans "Terms and Conditions" %}</a>
</li>
<li class="nav-item">
<a href="{% slugurl 'imprint' %}">{% trans "Imprint" %}</a>
<a href="{% slugurl 'imprint' %}#imprint">{% trans "Imprint" %}</a>
</li>
<li class="nav-item">
<a href="{% slugurl 'disclaimer' %}">{% trans "Disclaimer" %}</a>
<a href="{% slugurl 'disclaimer' %}#disclaimer">{% trans "Disclaimer" %}</a>
</li>
</ul>
</nav>
......
......@@ -18,13 +18,13 @@
{% endif %}
{% if callfromchild %}
<h1 class="docupage-title">{{ page.specific.title }}</h1>
<h1 class="docupage-title" id="{{ page.specific.slug }}">{{ page.specific.title }}</h1>
{% if page.specific.intro %}<p class="docupage-intro">{{ page.specific.intro }}</p>{% endif %}
<div>{{ page.specific.text|richtext }}</div>
{% else %}
<h1 class="docupage-title">{{ page.title }}</h1>
<h1 class="docupage-title" id="{{ page.slug }}">{{ page.title }}</h1>
{% if page.intro %}<p class="docupage-intro">{{ page.intro }}</p>{% endif %}
<div>{{ page.text|richtext }}</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment