From d0530d911bb58917add8b06f83952c021cf8b214 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Tue, 28 Apr 2020 19:13:37 +0200 Subject: [PATCH] Export social generation to another partial --- layouts/partials/author.html | 16 +--------------- layouts/partials/social.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 15 deletions(-) create mode 100644 layouts/partials/social.html diff --git a/layouts/partials/author.html b/layouts/partials/author.html index 70c485e..2c70632 100644 --- a/layouts/partials/author.html +++ b/layouts/partials/author.html @@ -6,19 +6,5 @@

{{ .Site.Params.author }}

{{ .Site.Params.info }}

-{{ with .Site.Params.social }} - +{{ partial "social.html" . }} -{{ end }} diff --git a/layouts/partials/social.html b/layouts/partials/social.html new file mode 100644 index 0000000..814ecb0 --- /dev/null +++ b/layouts/partials/social.html @@ -0,0 +1,11 @@ +{{ with .Site.Params.social }} + +{{ end }}