feat: support rel in social link item

This commit is contained in:
Dillon
2022-06-10 23:13:28 +08:00
parent d117526bc0
commit 4cdef8f493
2 changed files with 8 additions and 1 deletions

View File

@@ -71,6 +71,9 @@
{{- with $value.icon -}}
{{- $social = dict "Icon" . | merge $social -}}
{{- end -}}
{{- with $value.rel -}}
{{- $social = dict "Rel" . | merge $social -}}
{{- end -}}
{{- else if ne $value true -}}
{{- $social = dict "Id" $value | merge $social -}}
{{- end -}}