From 1796d6656aec0a8ff709bf305897631c84a5c6a6 Mon Sep 17 00:00:00 2001 From: Brad Clark Date: Wed, 20 Sep 2017 19:07:43 -0400 Subject: [PATCH] add linkedin --- exampleSite/config.toml | 1 + layouts/partials/social-follow.html | 5 +++++ layouts/partials/svg/linkedin.svg | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 layouts/partials/svg/linkedin.svg diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ed1556e..bdf4375 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -23,6 +23,7 @@ enableRobotsTXT = true instagram = "" youtube = "" github = "" + linkedin = "" # choose a background color from any on this page: http://tachyons.io/docs/themes/skins/ and preface it with "bg-" background_color_class = "bg-black" featured_image = "/images/gohugo-default-sample-hero-image.jpg" diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html index a7240e4..87b4da9 100644 --- a/layouts/partials/social-follow.html +++ b/layouts/partials/social-follow.html @@ -20,6 +20,11 @@ {{ partial "svg/youtube.svg" (dict "size" $icon_size) }} {{ end }} +{{ with .Site.Params.linkedin }} + + {{ partial "svg/linkedin.svg" (dict "size" $icon_size) }} + +{{ end }} {{ with .Site.Params.github }} {{ partial "svg/github.svg" (dict "size" $icon_size) }} diff --git a/layouts/partials/svg/linkedin.svg b/layouts/partials/svg/linkedin.svg new file mode 100644 index 0000000..9bef01f --- /dev/null +++ b/layouts/partials/svg/linkedin.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file