From 753bea972703a99792fa72c0a0a978419e3b6738 Mon Sep 17 00:00:00 2001 From: Barry Clark Date: Sat, 17 May 2014 17:48:16 -0400 Subject: [PATCH] SVG icons for every major social network, hooked up to _config.yml --- README.md | 4 ++-- _config.yml | 12 ++++++++++-- _includes/svg-icons/dribbble.html | 5 +++++ _includes/svg-icons/email.html | 5 +++++ _includes/svg-icons/facebook.html | 5 +++++ _includes/svg-icons/flickr.html | 6 ++++++ _includes/svg-icons/github.html | 5 +++++ _includes/svg-icons/instagram.html | 5 +++++ _includes/svg-icons/linkedin.html | 7 +++++++ _includes/svg-icons/pinterest.html | 5 +++++ _includes/svg-icons/rss.html | 5 +++++ _includes/svg-icons/twitter.html | 5 +++++ _layouts/default.html | 12 ++++++++++-- scss/style.scss | 4 ---- style.css | 2 -- 15 files changed, 75 insertions(+), 12 deletions(-) create mode 100644 _includes/svg-icons/dribbble.html create mode 100644 _includes/svg-icons/email.html create mode 100644 _includes/svg-icons/facebook.html create mode 100644 _includes/svg-icons/flickr.html create mode 100644 _includes/svg-icons/github.html create mode 100644 _includes/svg-icons/instagram.html create mode 100644 _includes/svg-icons/linkedin.html create mode 100644 _includes/svg-icons/pinterest.html create mode 100644 _includes/svg-icons/rss.html create mode 100644 _includes/svg-icons/twitter.html diff --git a/README.md b/README.md index 48e4f92dbdee5..e65ae7b6fb401 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,6 @@ If you'd like me to let you know when I release a new theme, just [drop me your ## Credits -- SVG icons +- [SVG icons](https://github.com/neilorangepeel/Free-Social-Icons) by Neil Orange Peel +- The team at [Jekyll](https://github.com/jekyll/jekyll)! - Code/design reviewers -- Jekyll! \ No newline at end of file diff --git a/_config.yml b/_config.yml index c8aa21ac0dcc9..9292b94073444 100644 --- a/_config.yml +++ b/_config.yml @@ -21,9 +21,17 @@ disqus: # Your Google Analytics web tracking code (e.g. UA-2110908-2) google_analytics: -# Links used for your social icons -links: +# Includes an icon in the footer for each username you enter +footer-links: + dribbble: + email: + facebook: + flickr: github: your-username + instagram: + linkedin: + pinterest: + rss: twitter: your-username # diff --git a/_includes/svg-icons/dribbble.html b/_includes/svg-icons/dribbble.html new file mode 100644 index 0000000000000..bed9b6f89a264 --- /dev/null +++ b/_includes/svg-icons/dribbble.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/email.html b/_includes/svg-icons/email.html new file mode 100644 index 0000000000000..7e4216502b795 --- /dev/null +++ b/_includes/svg-icons/email.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/facebook.html b/_includes/svg-icons/facebook.html new file mode 100644 index 0000000000000..a0a98913dbd29 --- /dev/null +++ b/_includes/svg-icons/facebook.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/flickr.html b/_includes/svg-icons/flickr.html new file mode 100644 index 0000000000000..bf3f1e173a785 --- /dev/null +++ b/_includes/svg-icons/flickr.html @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/github.html b/_includes/svg-icons/github.html new file mode 100644 index 0000000000000..18645827595ac --- /dev/null +++ b/_includes/svg-icons/github.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/instagram.html b/_includes/svg-icons/instagram.html new file mode 100644 index 0000000000000..7df8a16ea81ba --- /dev/null +++ b/_includes/svg-icons/instagram.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/linkedin.html b/_includes/svg-icons/linkedin.html new file mode 100644 index 0000000000000..72f6f5877a998 --- /dev/null +++ b/_includes/svg-icons/linkedin.html @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/pinterest.html b/_includes/svg-icons/pinterest.html new file mode 100644 index 0000000000000..72a9b72fdf809 --- /dev/null +++ b/_includes/svg-icons/pinterest.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/rss.html b/_includes/svg-icons/rss.html new file mode 100644 index 0000000000000..d9a49f7e1174a --- /dev/null +++ b/_includes/svg-icons/rss.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/svg-icons/twitter.html b/_includes/svg-icons/twitter.html new file mode 100644 index 0000000000000..0b02038630869 --- /dev/null +++ b/_includes/svg-icons/twitter.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 6826777a0ca6c..fa64b0a19307f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -43,8 +43,16 @@ diff --git a/scss/style.scss b/scss/style.scss index 78db456e600ca..0bcd0ed435228 100755 --- a/scss/style.scss +++ b/scss/style.scss @@ -257,8 +257,4 @@ nav { footer { padding: 20px 0; text-align: center; - - .footer-icon { - width: 40px; - } } diff --git a/style.css b/style.css index 6d8027e14bf8b..c9b00b1f4247d 100644 --- a/style.css +++ b/style.css @@ -494,5 +494,3 @@ nav { footer { padding: 20px 0; text-align: center; } - footer .footer-icon { - width: 40px; }