itsdrike.com/layouts/shortcodes/sociallink.html

4 lines
175 B
HTML
Raw Normal View History

2021-08-25 10:28:20 +00:00
{{ $socialDetail := index .Site.Data.social.accounts (.Get 0) }}
<a href="{{ $socialDetail.link }}" title="{{ $socialDetail.name }} account">{{ $socialDetail.username }}</a>