From a1ac436a3d93f2b39a74b2a1b40c2b1fbd5ff2e7 Mon Sep 17 00:00:00 2001 From: Patrick de Ritter Date: Fri, 3 Aug 2018 17:47:18 +0200 Subject: [PATCH] add instagram support and icon --- exampleSite/config.toml | 1 + layouts/partials/footer.html | 6 ++++++ static/img/instagram.svg | 1 + 3 files changed, 8 insertions(+) create mode 100644 static/img/instagram.svg diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 323b6a2..37bbab7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -34,6 +34,7 @@ email = "you@example.com" linkedin = "john-example-aa80ue8รจ" twitter = "example" facebook = "facebook_id" +instagram = "instagram_id" social_banner = "img/banner.png" usesmallsummarycard = true posts_navigation = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c0a42e5..166b0fa 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -37,6 +37,12 @@ {{ end }} + {{ if .Site.Params.instagram }} + + instagram + + {{ end }} + {{ if .Site.Params.facebook }} facebook diff --git a/static/img/instagram.svg b/static/img/instagram.svg new file mode 100644 index 0000000..1f8448c --- /dev/null +++ b/static/img/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file