Update social card logic

This commit is contained in:
Caio Lente 2024-01-04 17:03:02 -03:00
parent b8de167466
commit bda54f97d8
No known key found for this signature in database
GPG key ID: E66D381776EFC03A
4 changed files with 40 additions and 10 deletions

View file

@ -16,7 +16,7 @@
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>&nbsp;&nbsp;
{{ end }}
</p>
{{ with .Site.Social.email }}
{{ with .Site.Params.social.email }}
<p>
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
{{ i18n "email-reply" }} ↪