Add social links to config

This commit is contained in:
C. Lente 2023-03-04 14:39:39 -03:00
parent 3b1e939020
commit a98c11f5f7
No known key found for this signature in database
GPG key ID: B0B503C26E05781B
2 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,9 @@
{{ range .Site.Menus.main.ByWeight }}
<a href="{{ relLangURL .URL }}">{{ .Name }}</a>
{{ end }}
<a href='mailto:{{ .Site.Params.email }}?subject={{ i18n "email-subject" }}"{{ default .Site.Title .Page.Title }}"'>Email</a>
{{ with .Site.Social.email }}
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>Email</a>
{{ end }}
<a href="{{ .Site.Language.Params.params.blogPath }}/index.xml">RSS</a>
<!-- Convert this page's translations into a dict -->