Commit 3f69fe3d authored by Tobias Buckdahn's avatar Tobias Buckdahn

Translation link in footer (language switcher)

parent 4d21bf31
<footer id="footer" class="mt-auto bg-dark">
{% block footer %}
{% set footer = pages.find('/widgets/footer') %}
{% set about = pages.find('/about') %}
{% set collection = footer.collection() %}
<nav aria-label="footer" class="navbar navbar-expand-lg navbar-dark">
<div class="container justify-content-between text-center">
<ul class="navbar-nav mx-auto">
<li class="nav-item show mr-lg-auto">
<a class="nav-link" href="/about" title="About BrickCamp">
<a class="nav-link" href="{{ about.url }}" title="About BrickCamp">
© {{ "now" | date('Y') }} {{ config.site.title }}
</a>
</li>
<li class="nav-item show">
<li class="nav-item show d-none">
<a class="nav-link" href="{{ config.site.gitlab.url }}" title="{{ config.site.title }} on Gitlab" target="_blank" rel="noopener noreferrer">
{{ 'FOOTER.REPO'|t }}
</a>
......@@ -22,6 +22,7 @@
{{ 'FOOTER.SOURCE'|t }}
</a>
</li>
{% include 'partials/langswitcher.html.twig' %}
</ul>
<ul class="navbar-nav mx-auto">
......
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