diff --git a/layouts/index.html b/layouts/index.html index 23e439d..e371b9f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,5 @@ {{ define "main" }} {{ partial "front.html" . }} {{ partial "sections.html" . }} +{{ partial "social.html" . }} {{ end }} diff --git a/layouts/partials/social.html b/layouts/partials/social.html new file mode 100644 index 0000000..a9df984 --- /dev/null +++ b/layouts/partials/social.html @@ -0,0 +1,14 @@ +{{ if $.Site.Params.social }} + {{ $len := (len $.Site.Params.social) }} + {{ if gt $len 0 }} +
+ {{ range $network, $link := $.Site.Params.social }} + {{ if $link }} + + + + {{ end }} + {{ end }} +
+ {{ end}} +{{ end }} diff --git a/static/css/base.css b/static/css/base.css index 20d0cc7..c1bb6ba 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -257,3 +257,18 @@ body { .section:last-of-type { margin-bottom: 3em; } + +/******************* Social *******************/ +#social { + text-align: center; + width: 60%; + max-width: var(--max-width); + margin: auto; + margin-top: 5em; + margin-bottom: 1em; +} +#social .social-icon { + max-width: 2em; + height: 2em; + margin: 0 1em; +} diff --git a/static/svg/500px.svg b/static/svg/500px.svg new file mode 100644 index 0000000..9c7254a --- /dev/null +++ b/static/svg/500px.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/codepen.svg b/static/svg/codepen.svg new file mode 100644 index 0000000..8cf21f3 --- /dev/null +++ b/static/svg/codepen.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/facebook.svg b/static/svg/facebook.svg new file mode 100644 index 0000000..8e8d737 --- /dev/null +++ b/static/svg/facebook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/flickr.svg b/static/svg/flickr.svg new file mode 100644 index 0000000..3091426 --- /dev/null +++ b/static/svg/flickr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/github.svg b/static/svg/github.svg new file mode 100644 index 0000000..df681cf --- /dev/null +++ b/static/svg/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/gitlab.svg b/static/svg/gitlab.svg new file mode 100644 index 0000000..850f2f9 --- /dev/null +++ b/static/svg/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/instagram.svg b/static/svg/instagram.svg new file mode 100644 index 0000000..50a1db9 --- /dev/null +++ b/static/svg/instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/linkedin.svg b/static/svg/linkedin.svg new file mode 100644 index 0000000..c4d2efc --- /dev/null +++ b/static/svg/linkedin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/mastodon.svg b/static/svg/mastodon.svg new file mode 100644 index 0000000..f113fbf --- /dev/null +++ b/static/svg/mastodon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/peertube.svg b/static/svg/peertube.svg new file mode 100644 index 0000000..5fcf116 --- /dev/null +++ b/static/svg/peertube.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/pinterest.svg b/static/svg/pinterest.svg new file mode 100644 index 0000000..e77f87b --- /dev/null +++ b/static/svg/pinterest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/pixelfed.svg b/static/svg/pixelfed.svg new file mode 100644 index 0000000..7c6931e --- /dev/null +++ b/static/svg/pixelfed.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/tumblr.svg b/static/svg/tumblr.svg new file mode 100644 index 0000000..bf6d74f --- /dev/null +++ b/static/svg/tumblr.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/twitter.svg b/static/svg/twitter.svg new file mode 100644 index 0000000..66a8b0e --- /dev/null +++ b/static/svg/twitter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/svg/youtube.svg b/static/svg/youtube.svg new file mode 100644 index 0000000..cbb1c2b --- /dev/null +++ b/static/svg/youtube.svg @@ -0,0 +1 @@ + \ No newline at end of file