about summary refs log tree commit diff
path: root/layouts/partials/footer.html
blob: 619beab172a433526766c92d6c9d257a0c298d5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{/*
SPDX-FileCopyrightText: 2022 Ngô Ngọc Đức Huy <huyngo@disroot.org>

SPDX-License-Identifier: MIT
*/}}

<footer class="common-footer" id="footer">
  {{ $languagesCount := $.Site.Home.AllTranslations }}
  {{/* if gt $languagesCount 1 }}
    {{ partial "language-switcher.html" . }}
  {{ end */}}

  <div class="common-footer-bottom">
    <div class="copyright">
      {{ if isset .Site.Params "author"}}<p>© {{ .Site.Params.author }}, {{ now.Year }}</p>{{end}}
      <p>{{ partial "copyright.html" . }}</p>
    </div> 
    <div>
      {{ partial "footer-extra.html" . }}
    </div>
  </div>
</footer>