From 0989c28a0ecdf674906a18d663a4f806b49ec03f Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 16 Dec 2023 21:40:14 +0530 Subject: [PATCH] Allow aligning social-icons in homeInfo mode In Site config homeInfoParams: AlignSocialIconsTo: "center" # or left or right --- layouts/partials/home_info.html | 2 +- layouts/partials/social_icons.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/home_info.html b/layouts/partials/home_info.html index aece5327..199dfb72 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -7,7 +7,7 @@ {{ .Content | markdownify }} {{- end -}} diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 761129eb..ce76a308 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,4 +1,4 @@ -
+
{{- range site.Params.socialIcons }}