diff --git a/layouts/partials/home/profile.html b/layouts/partials/home/profile.html index 3f444ab8..447b416f 100644 --- a/layouts/partials/home/profile.html +++ b/layouts/partials/home/profile.html @@ -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 -}} diff --git a/layouts/partials/plugin/social.html b/layouts/partials/plugin/social.html index 67a27b7d..4b74a940 100644 --- a/layouts/partials/plugin/social.html +++ b/layouts/partials/plugin/social.html @@ -8,4 +8,8 @@ {{- end -}} {{- $destination = printf (string $template) .Id -}} {{- end -}} -{{- dict "Destination" $destination "Rel" "me" | merge . | partial "plugin/a.html" -}} +{{- $rel := "me" -}} +{{- with .Rel -}} + {{- $rel = printf "%v %v" $rel . -}} +{{- end -}} +{{- dict "Destination" $destination "Rel" $rel | merge . | partial "plugin/a.html" -}}