diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-09-29 19:17:13 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-10-01 07:51:11 +0200 |
| commit | 4c41e477e13d37e187c8de4225c7e8056bd9ed28 (patch) | |
| tree | 33a7b51a0ed2c2ae207fc8f89f1454ccb77596a5 /layouts/partials/footer | |
| parent | 4720b07e9f18915cf1f6466245a92dedd11fdc55 (diff) | |
Internalise theme
Diffstat (limited to 'layouts/partials/footer')
| -rw-r--r-- | layouts/partials/footer/copyright.html | 15 | ||||
| -rw-r--r-- | layouts/partials/footer/index.html | 4 | ||||
| -rw-r--r-- | layouts/partials/footer/social.html | 16 |
3 files changed, 27 insertions, 8 deletions
diff --git a/layouts/partials/footer/copyright.html b/layouts/partials/footer/copyright.html index b24cc2c..d2c9828 100644 --- a/layouts/partials/footer/copyright.html +++ b/layouts/partials/footer/copyright.html @@ -1,3 +1,12 @@ -<div class="text-xs font-semibold text-gray-500 order-2 sm:order-1 "> - © {{ replace .Site.Copyright "{year}" now.Year }} — <a class="hover:text-gray-500" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> <span class=" font-normal ">with</span> <a class="hover:text-gray-500" href="https://github.com/nixentric/Lowkey-Hugo-Theme" target="_blank" rel="noopener noreferrer">Lowkey</a> -</div>
\ No newline at end of file +<div class="text-xs font-semibold text-gray-500 order-2 sm:order-1"> + © {{ replace .Site.Copyright "{year}" now.Year }} — + <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> + <span class="font-normal">with</span> + <a + href="https://github.com/nixentric/Lowkey-Hugo-Theme" + target="_blank" + rel="noopener noreferrer" + > + Lowkey + </a> +</div> diff --git a/layouts/partials/footer/index.html b/layouts/partials/footer/index.html new file mode 100644 index 0000000..73f32ae --- /dev/null +++ b/layouts/partials/footer/index.html @@ -0,0 +1,4 @@ +<footer class="pt-5 pb-10 grid gap-3 sm:grid-cols-2"> + {{ partial "footer/copyright" . }} + {{ partial "footer/social" . }} +</footer>
\ No newline at end of file diff --git a/layouts/partials/footer/social.html b/layouts/partials/footer/social.html index 0b70dd6..ddf867c 100644 --- a/layouts/partials/footer/social.html +++ b/layouts/partials/footer/social.html @@ -1,5 +1,11 @@ -<div class="text-xs font-semibold text-gray-500 order-1 sm:order-2"> - <ul class="flex sm:justify-end gap-5"> - {{ with site.Menus.social }}{{ range . }}<li><a class="hover:text-gray-500" href="{{ .URL }}" target="_blank" rel="noopener noreferrer">{{ .Name }}</a></li>{{ end }}{{ end }} - </ul> -</div>
\ No newline at end of file +<div class="order-1 sm:order-2"> + <ul class="flex sm:justify-end gap-5"> + {{ with site.Menus.social }} + {{ range . }} + <li> + <a href="{{ .URL }}" target="_blank" rel="me noopener noreferrer">{{ .Name }}</a> + </li> + {{ end }} + {{ end }} + </ul> +</div> |
