From fea5eb37caeb529aebcf8fe654b93049acf93665 Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 29 Jun 2020 01:47:07 +0200 Subject: [PATCH] Add mastodon svg & mastodon social link --- config.toml | 4 ++++ layouts/partials/svg.html | 49 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 layouts/partials/svg.html diff --git a/config.toml b/config.toml index 5a5d40d..1fb6532 100644 --- a/config.toml +++ b/config.toml @@ -65,6 +65,10 @@ enableRobotsTXT=true name = "github" url = "https://github.com/saibotk" + [[params.social]] + name = "mastodon" + url = "https://flausch.social/@saibotk" + [menu] [[menu.main]] diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html new file mode 100644 index 0000000..496476e --- /dev/null +++ b/layouts/partials/svg.html @@ -0,0 +1,49 @@ +{{- 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 "twitch") -}} + +{{- 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 if (eq .name "qq") -}} + +{{- else if (eq .name "mastodon") -}} + +{{- else -}} + +{{- end -}}