From 8cdd37c74f77fd41048e115a8907c8da2e754333 Mon Sep 17 00:00:00 2001 From: Track3 Date: Sun, 26 May 2019 17:48:19 +0800 Subject: [PATCH] Add stackoverflow icon * See #68 --- README.md | 16 +++++----------- layouts/partials/svg.html | 2 ++ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 8229f10..be4284c 100644 --- a/README.md +++ b/README.md @@ -61,17 +61,11 @@ Use [RealFaviconGenerator](https://realfavicongenerator.net/) to generate these The following icons are supported, please make sure the `name` filed is exactly one of these: -* codepen -* facebook -* github -* gitlab -* instagram -* linkedin -* slack -* telegram -* twitter -* youtube -* email +| name | | | | +| --------------- | ----------- | ---------- | --------- | +| `email` | `codepen` | `facebook` | `github` | +| `gitlab` | `instagram` | `linkedin` | `slack` | +| `stackoverflow` | `telegram` | `twitter` | `youtube` | If that's not enough, you can see [Overriding templates](#overriding-templates) section. diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 39e0c19..29b173c 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -12,6 +12,8 @@ {{- else if (eq .name "slack") -}} +{{- else if (eq .name "stackoverflow") -}} + {{- else if (eq .name "telegram") -}} {{- else if (eq .name "twitter") -}}