From ecb7569b3c047f6e6845f8a49f6eee3d6762a968 Mon Sep 17 00:00:00 2001 From: Oscar Najera Date: Mon, 6 Jan 2025 03:01:15 +0100 Subject: transfer so partial and defaults --- layouts/partials/attribution.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'layouts/partials/attribution.html') 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 @@ -
+
{{ 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 }}
{{ $.Author.name }} @@ -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 - - + + {{ with .license }} {{ if in . "by-nc" }} - + {{ end }}{{ if in . "-nd" }} - + {{ else if in . "-sa" }} - + {{ end }} {{ end }} -- cgit v1.2.3