Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <contact@angelostavrow.com>2020-07-06 13:12:39 +0300
committerGitHub <noreply@github.com>2020-07-06 13:12:39 +0300
commitb33420b3265cf21709c10992ee23ed905c5020a8 (patch)
tree54345c749080b89d55ea6ee3ba9fd887117a969b
parent851401662be6d919d43b9ee53e5a3dc20fd96f32 (diff)
parent439d04bf737428f48ca56837e97fdecb87d93702 (diff)
Merge pull request #87 from TGNYC/add-instagram-social
Add Instagram Social
-rw-r--r--config.toml.example1
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social.html6
-rw-r--r--static/icons/instagram.svg1
4 files changed, 9 insertions, 0 deletions
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 @@
<a class="glyph" alt="Twitter profile" href="https://twitter.com/{{ .Site.Params.TwitterUser }}"><img src={{ "icons/twitter.svg" | absURL }} height="24px" width="24px"></a>
</div>
{{ end }}
+ {{ if isset .Site.Params "instagramuser" }}
+ <div class="icon-24x24">
+ <a class="glyph" alt="Instagram profile" href="https://instagram.com/{{ .Site.Params.TwitterUser }}"><img
+ src={{ "icons/instagram.svg" | absURL }} height="24px" width="24px"></a>
+ </div>
+ {{ end }}
</div>
</aside>
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 @@
+<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path style="fill:#3f3f3f" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg> \ No newline at end of file