From faf0ebefa3d6722c059df42a175906a869e18c0f Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 27 Aug 2020 20:00:01 +0530 Subject: [PATCH] social-icons : set icons in Params.socialIcons * so that it can be accessible to other modes usage : in config params: socialIcons: - name: "" url: : "" ref : f852d0692318f4f35c98943c3b00ba8d43119e68 --- layouts/partials/indexProfile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/indexProfile.html b/layouts/partials/indexProfile.html index 0a368668..284829bd 100644 --- a/layouts/partials/indexProfile.html +++ b/layouts/partials/indexProfile.html @@ -7,7 +7,7 @@ {{end}}

{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}

- {{- with .Site.Params.profileMode.socialIcons }} + {{- with .Site.Params.socialIcons }}
{{ partial "social-icons.html" . }}