From 439d04bf737428f48ca56837e97fdecb87d93702 Mon Sep 17 00:00:00 2001 From: TGNYC Date: Sun, 14 Jun 2020 12:17:29 -0400 Subject: Add Instagram Social --- config.toml.example | 1 + exampleSite/config.toml | 1 + layouts/partials/social.html | 6 ++++++ static/icons/instagram.svg | 1 + 4 files changed, 9 insertions(+) create mode 100644 static/icons/instagram.svg diff --git a/config.toml.example b/config.toml.example index 421e67d..9c365d2 100644 --- a/config.toml.example +++ b/config.toml.example @@ -29,6 +29,7 @@ theme = "indigo" StackOverflowUser = "StackOverflowUserName" TumblrUser = "TumblrUserName" TwitterUser = "TwitterUserName" + InstagramUser = "InstagramUserName" # These are parameters used for indieweb identity. You should set these along # with the above email/social network parameters. diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2fe4036..9ab58b3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -29,6 +29,7 @@ paginate = 3 StackOverflowUser = "StackOverflowUserName" TumblrUser = "TumblrUserName" TwitterUser = "TwitterUserName" + InstagramUser = "InstagramUserName" # These are parameters used for indieweb identity. You should set these along # with the above email/social network parameters. diff --git a/layouts/partials/social.html b/layouts/partials/social.html index 913434c..b8ef5fc 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -70,5 +70,11 @@ {{ end }} + {{ if isset .Site.Params "instagramuser" }} +
+ +
+ {{ end }} diff --git a/static/icons/instagram.svg b/static/icons/instagram.svg new file mode 100644 index 0000000..80d0abe --- /dev/null +++ b/static/icons/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3