<div class="footer">
    <div class="footer-part">
        <p>&#169; {{ dateFormat "2006" now }}</p>
        <a href="{{ .Site.Params.legalLink }}" alt='{{ T "legal" }}' title='{{ T "legal" }}'>{{ T "legal" }}</a>
        {{ with .Site.GetPage "copyright" }}
        <a class="copyright-modal-link" href='#{{ .Params.slug }}' alt='{{ .Title }}' title='{{ .Title }}'>{{ .Title }}</a>
        {{ end }}
        <div class="sm-icons">
            {{ range .Site.Data.socialmedia }}
                {{ if .footer }}
                    <a href="{{ .link }}" alt="{{ .name }}" title="{{ .name }}"><i class="{{ .icon }}"></i></a>
                {{ end }}
            {{ end }}
        </div>
    </div>
    <div class="footer-part">
        <select class="language-selector" alt='{{ T "language" }}' title='{{ T "language" }}' name="language">
            {{ range $.Site.Home.AllTranslations }}
                <option value="{{ .Permalink }}" {{ if eq $.Site.Language.Lang .Lang }}selected{{ end }}>{{ .Language.LanguageName }}</option>
            {{ end }}
        </select>
    </div>
</div>

</body>
</html>
