From 24da8768ad917b250d945b7d54213048042805bf Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur <45872139+hervyqa@users.noreply.github.com> Date: Sun, 28 Jul 2019 17:10:43 +0700 Subject: [PATCH] Add new icons for designers (#85) * Add several icons for designers & microstocker: shutterstock, freepik, adobestock, 123rf, dreamstime, dribbble, and behance. * Update telegram & stackoverflow icon. --- README.md | 12 +++++++----- layouts/partials/svg.html | 40 +++++++++++++++++++++++++++------------ 2 files changed, 35 insertions(+), 17 deletions(-) mode change 100644 => 100755 README.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 index be4284c..70bcb54 --- a/README.md +++ b/README.md @@ -61,11 +61,13 @@ Use [RealFaviconGenerator](https://realfavicongenerator.net/) to generate these The following icons are supported, please make sure the `name` filed is exactly one of these: -| name | | | | -| --------------- | ----------- | ---------- | --------- | -| `email` | `codepen` | `facebook` | `github` | -| `gitlab` | `instagram` | `linkedin` | `slack` | -| `stackoverflow` | `telegram` | `twitter` | `youtube` | +| name | | | | +| --------------- | ----------- | ------------ | --------- | +| `email` | `codepen` | `facebook` | `github` | +| `gitlab` | `instagram` | `linkedin` | `slack` | +| `stackoverflow` | `telegram` | `twitter` | `youtube` | +| `shutterstock` | `freepik` | `adobestock` | `123rf` | +| `dreamstime"` | `dribbble` | `behance` | `paypal` | 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 29b173c..0834e2c 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -1,27 +1,43 @@ {{- if (eq .name "codepen") -}} - + {{- else if (eq .name "facebook") -}} - + {{- else if (eq .name "github") -}} - + {{- else if (eq .name "gitlab") -}} - + {{- else if (eq .name "instagram") -}} - + {{- else if (eq .name "linkedin") -}} - + {{- else if (eq .name "slack") -}} - + {{- else if (eq .name "stackoverflow") -}} - + {{- else if (eq .name "telegram") -}} - + {{- else if (eq .name "twitter") -}} - + {{- else if (eq .name "youtube") -}} - + {{- else if (eq .name "email") -}} - + +{{- else if (eq .name "dribbble") -}} + +{{- else if (eq .name "behance") -}} + +{{- else if (eq .name "freepik") -}} + +{{- else if (eq .name "adobestock") -}} + +{{- else if (eq .name "shutterstock") -}} + +{{- else if (eq .name "123rf") -}} + +{{- else if (eq .name "dreamstime") -}} + +{{- else if (eq .name "paypal") -}} + {{- else -}} {{- end -}}