mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 16:10:43 +00:00
Add social account list
This commit is contained in:
parent
71fc71e30a
commit
d63710c629
2 changed files with 39 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue