From 0d20efe1b7a513d54f92e634f05d9ea6fd34de70 Mon Sep 17 00:00:00 2001 From: Emruz Hossain Date: Thu, 9 Feb 2023 23:03:59 +0600 Subject: [PATCH] Support rel atribute in social links (#735) Signed-off-by: hossainemruz --- exampleSite/go.mod | 1 + layouts/partials/sections/about.html | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 22b7e4d..d7882e2 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -5,3 +5,4 @@ go 1.19 require github.com/hugo-toha/hugo-toha.github.io v0.0.0-20221228191121-007f31838bd6 // indirect replace github.com/hugo-toha/toha/v4 => ../../toha +// replace github.com/hugo-toha/hugo-toha.github.io => ../../hugo-toha.github.io diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index 713f830..34a48ec 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -30,11 +30,11 @@ {{ range .socialLinks }}
  • {{ if eq .name "Email" }} - + {{ else if eq .name (i18n "phone") }} - + {{ else }} - + {{ end }}
  • {{ end }}