Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds simple Social Network Link / Social Networks Data definition #278

Merged
merged 7 commits into from
Jan 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 24 additions & 38 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,44 +56,30 @@ avatar: "/img/avatar-icon.png"
# Important: you must keep the "name" parameter, everything else you can remove
author:
name: Some Person
email: "[email protected]"
facebook: yourname # eg. daattali
github: yourname # eg. daattali
twitter: yourname # eg. daattali
reddit: yourname # eg. daattali
google-plus: +yourname # eg. +DeanAttali or 109424658772469020925
linkedin: yourname # eg. daattali
xing: yourname # eg. daattali
stackoverflow: yourlink # eg. "3943160/daattali"
snapchat: yourname # eg. daattali
instagram: yourname # eg. daattali
youtube: yourlink # eg. user/daattali or channel/daattali
spotify: yourname # eg. daattali
telephone: yourphone # eg. +14159998888
steam: yourname # eg. daattali
twitch: yourname # eg. daattali
yelp: yourname # eg. daattali

# Select which links to show in the footer
footer-links-active:
rss: false
facebook: true
email: true
twitter: true
google-plus: false
github: true
reddit: false
linkedin: false
xing: false
stackoverflow: false
snapchat: false
instagram: false
youtube: false
spotify: false
telephone: false
steam: false
twitch: false
yelp: false

# Select your active Social Network Links.
# Uncomment the links you want to show in the footer and add your information to each link.
# You can reorder the items to define the link order.
# If you want to add a new link that isn't here, you'll need to also edit the file _data/SocialNetworks.yml
social-network-links:
rss: true
email: "[email protected]"
facebook: daattali
github: daattali
twitter: daattali
# reddit: yourname
# google-plus: +DeanAttali
# linkedin: daattali
# xing: yourname
# stackoverflow: "3943160/daattali"
# snapchat: deanat78
# instagram: deanat78
# youtube: user/deanat78
# spotify: yourname
# telephone: +14159998888
# steam: deanat78
# twitch: yourname
# yelp: yourname

# Select which share links to show in posts
share-links-active:
Expand Down
97 changes: 97 additions & 0 deletions _data/SocialNetworks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# You can define your custom social network links here.
# Use the same key you added in _config.yml -> soicial-network-links.
# In addition to that you need to specify the following properties:
# name: Specify a user-friendly name that will be used as a link title
# baseURL: Define a base URL which will be combined with the value of
# site.social-network-links.<key>
# icon: Specify a valid fontawesome icon class

facebook:
name: "Facebook"
baseURL: "https://www.facebook.com/"
icon: "fa-facebook"

github:
name: "GitHub"
baseURL: "https://github.com/"
icon: "fa-github"

twitter:
name: "Twitter"
baseURL: "https://twitter.com/"
icon: "fa-twitter"

reddit:
name: "Reddit"
baseURL: "https://reddit.com/u/"
icon: fa-reddit

google-plus:
name: "Google+"
baseURL: "https://plus.google.com/"
icon: "fa-google-plus"

email:
name: "Email me"
baseURL: "mailto:"
icon: "fa-envelope"

linkedin:
name: "LinkedIn"
baseURL: "https://linkedin.com/in/"
icon: "fa-linkedin"

xing:
name: "Xing"
baseURL: "https://www.xing.com/profile/"
icon: "fa-xing"

stackoverflow:
name: "StackOverflow"
baseURL: "https://stackoverflow.com/users/"
icon: "fa-stack-overflow"

snapchat:
name: "Snapchat"
baseURL: "https://www.snapchat.com/add/"
icon: "fa-snapchat-ghost"

instagram:
name: "Instagram"
baseURL: "https://www.instagram.com/"
icon: "fa-instagram"

youtube:
name: "YouTube"
baseURL: "https://www.youtube.com/"
icon: "fa-youtube"

spotify:
name: "Spotify"
baseURL: "https://open.spotify.com/user/"
icon: "fa-spotify"

telephone:
name: "Phone"
baseURL: "tel:"
icon: "fa-phone"

rss:
name: "RSS"
baseURL: "{{ '/feed.xml' | prepend: site.baseurl }}"
icon: "fa-rss"

steam:
name: "Steam"
baseURL: "https://steamcommunity.com/id/"
icon: "fa-steam"

twitch:
name: "Twitch"
baseURL: "https://www.twitch.tv/"
icon: "fa-twitch"

yelp:
name: "Yelp"
baseURL: "https://{{ site.author.yelp }}.yelp.com"
icon: "fa-yelp"
Loading