🚸 Add sharing links to front matter

This commit is contained in:
James Panther
2021-10-20 10:44:57 +11:00
parent 527d3d101e
commit db134785e4
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{{ with .Site.Params.article.sharingLinks }}
{{ with .Params.sharingLinks | default (.Site.Params.article.sharingLinks | default false) }}
{{ $links := site.Data.sharing }}
<section class="flex flex-row flex-wrap justify-center pt-4 text-xl">
{{ range . }}