about summary refs log tree commit diff
path: root/layouts/partials/footer.html
blob: 8707172a89b17185628a807cd32530802e35f782 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{/*
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">
      <p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}</p>
      <p>{{ partial "copyright.html" . }}</p>
    </div> 
    <div>
      {{ partial "footer-extra.html" . }}
    </div>
  </div>

  {{ partial "h-card.html" . }}
</footer>