From 6159f68a27198e182ee9ffe095425a8bd2f41705 Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 19 May 2022 16:38:00 +0800 Subject: [PATCH] allow using Params.Email --- 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 3127da4..12ae6c5 100644 --- a/layouts/partials/home_info.html +++ b/layouts/partials/home_info.html @@ -7,7 +7,7 @@ {{- trim .Content "\n" | markdownify -}} {{- end -}} diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 7a6cfbe..4949abb 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -3,7 +3,7 @@ {{- $icon_name := ( trim .name " " | lower )}} {{- if (eq .url "email") }} - + {{ safeHTML (index $.svg $icon_name | default $.svg.default) }} {{- else }}