mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-01-23 20:14:33 +00:00
Add social account list
This commit is contained in:
parent
71fc71e30a
commit
d63710c629
36
data/social.yml
Normal file
36
data/social.yml
Normal file
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
accounts:
|
||||
github:
|
||||
name: GitHub
|
||||
username: ItsDrike
|
||||
link: https://github.com/ItsDrike/
|
||||
icon: fab fa-github
|
||||
|
||||
stack-overflow:
|
||||
name: Stack Overflow
|
||||
username: ItsDrike
|
||||
link: https://stackoverflow.com/users/13306825/itsdrike
|
||||
icon: fab fa-stack-overflow
|
||||
|
||||
stack-exchange:
|
||||
name: Stack Exchange
|
||||
username: ItsDrike
|
||||
link: https://meta.stackexchange.com/users/432633/itsdrike?tab=profile
|
||||
icon: fab fa-stack-exchange
|
||||
|
||||
pypi:
|
||||
name: PyPI
|
||||
username: ItsDrike
|
||||
link: https://pypi.org/user/ItsDrike/
|
||||
icon: fab fa-python
|
||||
|
||||
discord:
|
||||
name: Discord
|
||||
username: ItsDrike#5359
|
||||
link: https://discord.com/
|
||||
icon: fab fa-discord
|
||||
|
||||
discord-server:
|
||||
name: Codin' Nerds
|
||||
username: Codin' Nerds
|
||||
links: https://discord.gg/B8rf3xxgbJ
|
3
layouts/shortcodes/sociallink.html
Normal file
3
layouts/shortcodes/sociallink.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
{{ $socialDetail := index .Site.Data.social.accounts (.Get 0) }}
|
||||
|
||||
<a href="{{ $socialDetail.link }}" title="{{ $socialDetail.name }} account">{{ $socialDetail.username }}</a>
|
Loading…
Reference in a new issue