diff --git a/env.js b/env.js index 84e8672..fdf58cf 100644 --- a/env.js +++ b/env.js @@ -13,6 +13,7 @@ var env = { BIO: '$BIO', GITHUB: '$GITHUB', TWITTER: '$TWITTER', + MICRO_BLOG: '$MICRO_BLOG', INSTAGRAM: '$INSTAGRAM', FACEBOOK: '$FACEBOOK', FACEBOOK_MESSENGER: '$FACEBOOK_MESSENGER', @@ -118,6 +119,14 @@ function useEnv(document) { twitterEl.remove() } + var microblogEl = document.getElementById('microblog'); + if (env.MICRO_BLOG) { + microblogEl.href = env.MICRO_BLOG; + } else { + microblogEl.nextElementSibling.remove() + microblogEl.remove() + } + var instagramEl = document.getElementById('instagram'); if (env.INSTAGRAM) { instagramEl.href = env.INSTAGRAM; diff --git a/template/index.html b/template/index.html index 7ec272a..9e15c37 100644 --- a/template/index.html +++ b/template/index.html @@ -96,6 +96,10 @@ Twitter LogoTwitter
+ + Micro.blog LogoMicro.blog +
+ Instagram LogoInstagram
diff --git a/www/css/brands.css b/www/css/brands.css index 9741cb0..777a94a 100644 --- a/www/css/brands.css +++ b/www/css/brands.css @@ -163,6 +163,14 @@ button:hover, .button.button-medium:focus { filter: brightness(90%) } +/* Micro.blog */ +.button.button-microblog { + color: #FFFFFF; + background-color: #FD9927 } +.button.button-microblog:hover, +.button.button-microblog:focus { + filter: brightness(90%) } + /* Pinterest */ .button.button-pinterest { color: #000000; diff --git a/www/icons/microblog.svg b/www/icons/microblog.svg new file mode 100644 index 0000000..30aa82b --- /dev/null +++ b/www/icons/microblog.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file