aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/attribution.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-06 03:01:15 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-06 03:01:15 +0100
commitecb7569b3c047f6e6845f8a49f6eee3d6762a968 (patch)
treebb891a042c1ae57bb25c71bd739564e07812b6f4 /layouts/partials/attribution.html
parent9dcafb5af5332ba0a5753abf441183417880a739 (diff)
downloadhugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.gz
hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.tar.bz2
hugo-minimalist-theme-ecb7569b3c047f6e6845f8a49f6eee3d6762a968.zip
transfer so partial and defaults
Diffstat (limited to 'layouts/partials/attribution.html')
-rw-r--r--layouts/partials/attribution.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/attribution.html b/layouts/partials/attribution.html
index 8ef271a..e69341b 100644
--- a/layouts/partials/attribution.html
+++ b/layouts/partials/attribution.html
@@ -1,4 +1,4 @@
-<div class="tc my-4">
+<div class="border-t border-gray-500 py-4 my-2">
{{ if in (slice "by" "by-nd" "by-sa" "by-nc" "by-nc-nd" "by-nc-sa") .license }}
{{ $href := printf "http://creativecommons.org/licenses/%s/4.0/" .license }}
<div
@@ -12,7 +12,7 @@
rel="cc:attributionURL dct:creator"
property="cc:attributionName"
href="{{ . }}"
- class="dim"
+ class="hover:opacity-50"
>
{{ $.Author.name }}
</a>
@@ -25,7 +25,7 @@
target="_blank"
rel="license noopener noreferrer"
href="{{ $href }}"
- class="block dim"
+ class="block hover:opacity-50"
>
Creative Commons
{{ with .license }}
@@ -39,15 +39,15 @@
{{ end }}
4.0 International License
<span class="block m-2">
- <i class="f2 fab fa-creative-commons"></i>
- <i class="f2 fab fa-creative-commons-by"></i>
+ <i class="text-4xl fab fa-creative-commons"></i>
+ <i class="text-4xl fab fa-creative-commons-by"></i>
{{ with .license }}
{{ if in . "by-nc" }}
- <i class="f2 fab fa-creative-commons-nc"></i>
+ <i class="text-4xl fab fa-creative-commons-nc"></i>
{{ end }}{{ if in . "-nd" }}
- <i class="f2 fab fa-creative-commons-nd"></i>
+ <i class="text-4xl fab fa-creative-commons-nd"></i>
{{ else if in . "-sa" }}
- <i class="f2 fab fa-creative-commons-sa"></i>
+ <i class="text-4xl fab fa-creative-commons-sa"></i>
{{ end }}
{{ end }}
</span>