From 6683b858769721483230761f8d32ed460f4c0d2c Mon Sep 17 00:00:00 2001 From: Track3 Date: Tue, 23 Oct 2018 13:15:50 +0800 Subject: [PATCH] social-icons : init Signed-off-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> --- layouts/partials/social-icons.html | 3 ++ layouts/partials/svg.html | 72 ++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 layouts/partials/social-icons.html create mode 100644 layouts/partials/svg.html diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html new file mode 100644 index 0000000..72f5980 --- /dev/null +++ b/layouts/partials/social-icons.html @@ -0,0 +1,3 @@ +{{ range . -}} +{{ partial "svg.html" . }} +{{- end -}} \ No newline at end of file diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html new file mode 100644 index 0000000..42117fe --- /dev/null +++ b/layouts/partials/svg.html @@ -0,0 +1,72 @@ +{{- if (eq .name "codepen") -}} + + + + + + + +{{- else if (eq .name "facebook") -}} + + + +{{- else if (eq .name "github") -}} + + + + +{{- else if (eq .name "instagram") -}} + + + + + +{{- else if (eq .name "linkedin") -}} + + + + + +{{- else if (eq .name "slack") -}} + + + + + + + +{{- else if (eq .name "twitter") -}} + + + + +{{- else if (eq .name "youtube") -}} + + + + + +{{- else if (eq .name "email") -}} + + + + +{{- else -}} + + + + +{{- end -}} \ No newline at end of file