diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-10-02 09:02:20 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2023-10-02 09:02:20 +0200 |
| commit | 2c17fbcdf8ea36d9d10dba243db94de85575e8ed (patch) | |
| tree | 6609bbe9837d851f3d0be160f025285606465dc4 /layouts/partials/footer | |
| parent | c6ef2fd7aeff28abfd4ec372262de3ecd4684c04 (diff) | |
chore: Copy theme layouts
Diffstat (limited to 'layouts/partials/footer')
| -rw-r--r-- | layouts/partials/footer/copyright.html | 3 | ||||
| -rw-r--r-- | layouts/partials/footer/social.html | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/footer/copyright.html b/layouts/partials/footer/copyright.html new file mode 100644 index 0000000..b24cc2c --- /dev/null +++ b/layouts/partials/footer/copyright.html @@ -0,0 +1,3 @@ +<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 diff --git a/layouts/partials/footer/social.html b/layouts/partials/footer/social.html new file mode 100644 index 0000000..0b70dd6 --- /dev/null +++ b/layouts/partials/footer/social.html @@ -0,0 +1,5 @@ +<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 |
