blob: 03d942868a33b983fc2399f238f2b4cddf89e5cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<footer class="pagefind-exclude my-8 mx-auto font-mono px-4 md:px-0
text-sm
md:w-[var(--page-width)]">
<div class="md:flex md:justify-between">
<!-- copyright -->
<section>
<p class="copyright">© 2022-{{ now | dateFormat "2006" }} <a href="https://www.eltr.ac/" target="_blank">Eltrac</a></p>
<p class="license">{{ T "footer.licenseStatement" (printf "<a href=\"https://creativecommons.org/licenses/by-sa/4.0/\" target=\"_blank\">CC BY-SA 4.0</a>") | safeHTML }}</p>
</section>
<!-- links -->
<section class="flex justify-between items-center
md:justify-start md:flex-col md:items-end">
<!-- Internal Links -->
<ul class="flex list-none gap-1 ps-0 my-2 mx-0">
{{ range .Site.Params.internalLinks }}
<li><a href="{{ .link }}" title="{{ .name }}"
class="text-secondary">{{ .name }}</a></li>
<li class="text-secondary last:hidden">·</li>
{{ end }}
</ul>
<!-- External Links -->
<ul class="list-style-none flex items-center gap-2 ps-0 my-2 mx-0 md:justify-end">
{{ range .Site.Params.footerExternalLinks }}
<li class="inline-flex items-center">
<a href="{{ .link }}" title="{{ .name }}" target="_blank"
class="transition opacity-70 hover:opacity-100 hover:no-underline">
{{ if strings.Contains .icon "/" }}
<img
class="h-4 w-auto inline-block grayscale dark:invert"
src="{{ .icon }}"
alt="{{ .name }} icon."
loading="lazy"
width="1rem"
height="1rem"
/>
{{ else }}
<span class="text-size-4 font-serif">{{ .icon }}</span>
{{ end }}
</a>
</li>
{{ end }}
</ul>
</section>
</div>
</footer>
|