diff options
| -rw-r--r-- | content/en/is/index.md (renamed from content/en/is/_index.md) | 4 | ||||
| -rw-r--r-- | content/it/is/index.md (renamed from content/it/is/_index.md) | 4 | ||||
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/shortcodes/gravatar.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/content/en/is/_index.md b/content/en/is/index.md index 2608d83..1fbdd20 100644 --- a/content/en/is/_index.md +++ b/content/en/is/index.md @@ -5,7 +5,7 @@ draft = false date = "2009-06-01T22:04:43+00:00" +++ -{{< gravatar mail="danixland@gmail.com" class="image right circle" size=250 >}} +{{< gravatar email="danixland@gmail.com" class="image right circle" size=250 >}} Welcome to danix.xyz, my name is Danilo but you can call me danix. @@ -15,4 +15,4 @@ I use this website to keep track of all the snippets of code that I tend to forg I deeply dislike sharing readers data with other companies so you can be sure that I don't collect any data from my readers. I've setup hugo not to track my readers and to instruct other sites referenced on my pages to do so as well. -Read more about [my Privacy Policy]({{< ref "legal" >}} "Privacy Policy here at danix.xyz"). +Read more about [my Privacy Policy](../legal "Privacy Policy here at danix.xyz"). diff --git a/content/it/is/_index.md b/content/it/is/index.md index 2608d83..1fbdd20 100644 --- a/content/it/is/_index.md +++ b/content/it/is/index.md @@ -5,7 +5,7 @@ draft = false date = "2009-06-01T22:04:43+00:00" +++ -{{< gravatar mail="danixland@gmail.com" class="image right circle" size=250 >}} +{{< gravatar email="danixland@gmail.com" class="image right circle" size=250 >}} Welcome to danix.xyz, my name is Danilo but you can call me danix. @@ -15,4 +15,4 @@ I use this website to keep track of all the snippets of code that I tend to forg I deeply dislike sharing readers data with other companies so you can be sure that I don't collect any data from my readers. I've setup hugo not to track my readers and to instruct other sites referenced on my pages to do so as well. -Read more about [my Privacy Policy]({{< ref "legal" >}} "Privacy Policy here at danix.xyz"). +Read more about [my Privacy Policy](../legal "Privacy Policy here at danix.xyz"). diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/gravatar.html b/themes/danix-xyz-hacker/layouts/shortcodes/gravatar.html index 7151ee5..a463086 100644 --- a/themes/danix-xyz-hacker/layouts/shortcodes/gravatar.html +++ b/themes/danix-xyz-hacker/layouts/shortcodes/gravatar.html @@ -4,7 +4,7 @@ {{- $class := .Get "class" | default "w-32 h-32 rounded-full" -}} {{- if $email -}} - {{- $hash := md5 (trim (strings.ToLower $email)) -}} + {{- $hash := md5 (strings.TrimSpace (strings.ToLower $email)) -}} {{- $gravatarURL := printf "https://www.gravatar.com/avatar/%s?s=%s&d=identicon" $hash $size -}} <img src="{{ $gravatarURL }}" |
