Add footer menu

This commit is contained in:
James Panther
2021-10-19 15:45:11 +11:00
parent 07562ee7d4
commit 1901917d7c
6 changed files with 58 additions and 5 deletions
+19 -2
View File
@@ -1,6 +1,23 @@
<footer class="py-10 text-sm">
<footer class="py-10">
{{/* Footer menu */}}
{{ if .Site.Menus.footer }}
<nav class="pb-4 text-base font-medium text-neutral-400 dark:text-neutral-500">
<ul class="flex flex-col list-none sm:flex-row">
{{ range .Site.Menus.footer }}
<li class="mb-1 sm:mb-0 sm:mr-7 sm:last:mr-0">
<a
class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small"
href="{{ .URL }}"
title="{{ .Title }}"
>{{ .Name }}</a
>
</li>
{{ end }}
</ul>
</nav>
{{ end }}
{{/* Copyright */}}
<p class="text-neutral-400 dark:text-neutral-500">
<p class="text-sm text-neutral-400 dark:text-neutral-500">
{{- with .Site.Copyright }}
{{ . | emojify | markdownify }}
{{- else }}