From eee26038f6ecc8c1701b25bbd3f62b8cfb8aebc2 Mon Sep 17 00:00:00 2001 From: JPYamamoto Date: Mon, 14 Oct 2019 11:14:42 -0500 Subject: [PATCH] Added Stackoverflow icon --- README.md | 1 + exampleSite/config.toml | 4 ++++ layouts/partials/svg.html | 2 ++ 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index f636927..1c97160 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ If you spot any bugs, please use [Issue Tracker](https://github.com/rhazdon/hugo - [normalize.css](https://github.com/necolas/normalize.css) - [Feather Open Source Icons](https://github.com/feathericons/feather) + - [Simple Icons](https://simpleicons.org/) - [Flag Icon](https://github.com/lipis/flag-icon-css) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ec2df24..4ca62aa 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -98,6 +98,10 @@ disableHugoGeneratorInject = false name = "linkedin" url = "https://www.linkedin.com/" + [[params.social]] + name = "stackoverflow" + url = "https://www.stackoverflow.com/" + [languages] [languages.en] subtitle = "Hello Friend NG Theme" diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 106c2ce..aaefdfe 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -20,6 +20,8 @@ {{- else if (eq .name "telegram") -}} +{{- else if (eq .name "stackoverflow") -}} + {{- else -}} {{- end -}}